Transforming XML Documents using fxt

被引:8
|
作者
Berlea, Alexandru [1 ]
Seidl, Helmut [1 ]
机构
[1] Department of Computer Science, University of Trier, Germany
关键词
Computer programming languages - Pattern matching - Functional programming - Forestry;
D O I
10.2498/cit.2002.01.02
中图分类号
学科分类号
摘要
As XML spreads to various application domains, transformation tasks onXML documents are accomplished by an ever increasing number of non-programmers. In this respect, rather than providing just a collection of basic operations via a library in a special purpose language, it is useful to provide a more intuitive, rule-based approach to XML transformation. The rule-based approach requires pattern-matching for identifying parts of the document to be processed. As XML document processing is basically a subarea of tree processing for which the functional programming style is very natural, we choose SML as implementation language. The functional style implies a processing model in which navigation is possible only to subtrees of a tree. This restriction can be compensated by using a tree pattern-matcher able to relate to ancestors, successors, as well as to siblings of a match. On top of the powerful fxgrep XML pattern-matcher, we build fxt, a transformation tool for XML documents. The functional processing model that fxt uses, allows an implementation more efficient than implementations permitted by the processing model of the popular XSLT, where navigation in the input tree can proceed in arbitrary directions. Usual transformations are specified in fxt in an intuitive, declarative way. More elaborate transformations can be flexibly achieved by the hooks provided to the full functionality of the SML programming language, as well as by the fxt's variable mechanism.
引用
收藏
页码:19 / 35
相关论文
共 50 条
  • [1] Transforming XML Documents as Schemas Evolve
    Kwietniewski, Marcin
    Gryz, Jarek
    Hazlewood, Stephanie
    Van Run, Paul
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2010, 3 (02): : 1577 - 1580
  • [2] Transforming XML documents to OWL ontologies: A survey
    Hacherouf, Mokhtaria
    Bahloul, Safia Nait
    Cruz, Christophe
    [J]. JOURNAL OF INFORMATION SCIENCE, 2015, 41 (02) : 242 - 259
  • [3] A Mapping Model for Transforming Nested XML Documents
    Qian, Gang
    Dong, Yisheng
    [J]. INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2006, 6 (2A): : 83 - 91
  • [4] Transforming paper documents into XML format with WISDOM++
    Altamura O.
    Esposito F.
    Malerba D.
    [J]. International Journal on Document Analysis and Recognition, 2001, 4 (1) : 2 - 17
  • [5] Automatically Transforming Legacy XML Documents Into OWL Ontology
    Yang, Shihan
    Wu, Jinzhao
    He, Anping
    [J]. INDUSTRIAL INSTRUMENTATION AND CONTROL SYSTEMS, PTS 1-4, 2013, 241-244 : 2638 - +
  • [6] Computing simple and complex matchings between XML schemas for transforming XML documents
    Lee, Jun-Seung
    Lee, Kyong-Ho
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (09) : 937 - 946
  • [7] Transforming Valid XML Documents into RDF via RDF Schema
    Thuy, Pham Thi Thu
    Lee, Young-Koo
    Lee, Sungyoung
    Jeong, Byeong-Soo
    [J]. NWESP 2007: THIRD INTERNATIONAL CONFERENCE ON NEXT GENERATION WEB SERVICES PRACTICES, PROCEEDINGS, 2007, : 35 - 40
  • [8] XWebMapper:: A Web-based tool for transforming XML documents
    Llavador, Manel
    Canos, Jose H.
    [J]. RESEARCH AND ADVANCED TECHNOLOGY FOR DIGITAL LIBRARIES, 2006, 4172 : 563 - 566
  • [9] A resource for transforming HTML']HTML and molfile documents to XML compliant form
    Gkoutos, GV
    Kenway, PR
    Murray-Rust, P
    Rzepa, HS
    Wright, M
    [J]. INTERNET JOURNAL OF CHEMISTRY, 2001, 4 (05):
  • [10] Rendering XML documents using XSL
    [J]. Dr Dobb's J Software Tools Prof Program, 7 (82):