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 条
  • [31] A Data Model for Versioned XML Documents using XQuery
    Arevalo Rosado, Luis
    Polo Marquez, Antonio
    Salas Sanchez, Miryam
    [J]. 2008 THIRD INTERNATIONAL CONFERENCE ON DIGITAL INFORMATION MANAGEMENT, VOLS 1 AND 2, 2008, : 957 - 959
  • [32] XML Documents Clustering Using a Tensor Space Model
    Kutty, Sangeetha
    Nayak, Richi
    Li, Yuefeng
    [J]. ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PT I: 15TH PACIFIC-ASIA CONFERENCE, PAKDD 2011, 2011, 6634 : 488 - 499
  • [33] Clustering of XML documents
    Guillaume, D
    Murtagh, F
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2000, 127 (2-3) : 215 - 227
  • [34] Classification of XML documents
    Bouchachia, Abdelhamid
    Hassler, Marcus
    [J]. 2007 IEEE SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND DATA MINING, VOLS 1 AND 2, 2007, : 390 - 396
  • [35] Merging of XML documents
    Wei, WX
    Liu, MC
    Li, SJ
    [J]. CONCEPTUAL MODELING - ER 2004, PROCEEDINGS, 2004, 3288 : 273 - 285
  • [36] Slicing XML Documents
    Silva, Josep
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 157 (02) : 187 - 192
  • [37] Filtering of XML documents
    Ballis, D.
    Romero, D.
    [J]. SELECTED PAPERS FROM THE SECOND INTERNATIOANL WORKSHOP ON AUTOMATED SPECIFICATION AND VERIFICATION OF WEB SYSTEMS, 2007, : 19 - 26
  • [38] Naming in XML documents
    Lawrence, R
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2002: COOPLS, DOA, AND ODBASE, 2002, 2519 : 1287 - 1303
  • [39] Securing XML documents
    Damiani, E
    di Vimercati, SD
    Paraboschi, S
    Samarati, P
    [J]. ADVANCES IN DATABSE TECHNOLOGY-EDBT 2000, PROCEEDINGS, 2000, 1777 : 121 - 135
  • [40] Structuring XML documents
    Mobley, K
    [J]. TECHNICAL COMMUNICATION, 2000, 47 (02) : 253 - 255