Transforming XML Documents using fxt

Alexandru Berlea, Helmut Seidl

Research output: Contribution to journalArticlepeer-review

12 Scopus citations

Abstract

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.

Original languageEnglish
Pages (from-to)19-35
Number of pages17
JournalJournal of Computing and Information Technology
Volume10
Issue number1
DOIs
StatePublished - 2002
Externally publishedYes

Keywords

  • Functional document model
  • Functional programming
  • Fxgrep
  • Fxt
  • SML
  • XML pattern matching with regular expressions
  • XML transformations
  • XSLT

Fingerprint

Dive into the research topics of 'Transforming XML Documents using fxt'. Together they form a unique fingerprint.

Cite this