XML transformation language |
An XML transformation language is a computer language designed specifically to transform an input XML document into an output XML document which satisfies some specific goal.
There are two special cases of transformation:
=XML to XML=
An XML to XML transformation outputs XML document, it is current to chain XML to XML transformation to form XML pipelines.
=XML to Data=
The XML to Data transformation contains some important cases. The most notable one is XML to HTML, as an HTML document is not an XML document.
=Existing languages=
; 1.0, and it has been widely implemented since then. XSLT 2.0 is expected to be released soon as a W3C recommendation and early implementations of the specification like [http://saxon.sourceforge.net/ SAXON 8] are already available. ; s, just like XSLT and provides almost the same capabilities (for instance: declaring variables and functions, iterating over sequences, using W3C schema types), even though the program syntax are quite different. In addition to the syntax, the main difference between XSLT and XQuery is the XSLT push processing model, where certain conditions of the input document trigger the execution of templates, which is not shared with XQuery. ; Streaming Transformations for XML : STX (Streaming Transformations for XML) is inspired by XSLT but has been designed to allow a one-pass transformation process that never prevents streaming. Implementations are available in Java ([http://joost.sourceforge.net/ Joost]) and Perl ([http://stx.gingerall.cz/stx/xml-stx/index.html XML::STX]). ; as well as its proprietary DSLPath for selecting nodes from the input tree. ; . ; . ; , see [http://www.cduce.org/ CDuce homepage]. ; , see [http://www.cis.upenn.edu/~bcpierce/xtatic/ Xtatic homepage]. ; HaXml : A library and collection of tools to write XML transformations in Haskell. Its approach is very consistent and powerful. Also see [http://www.cs.york.ac.uk/fp/HaXml/ this paper about HaXml published in 1999] and [http://www-106.ibm.com/developerworks/xml/library/x-matters14.html this IBM developerWorks article]. ; XMLambda : XMLambda (XMλ) is described in a 1999 paper by Erik Meijer and Mark Shields. No implementation is available. See [http://www.cse.ogi.edu/~mbs/pub/xmlambda/ XMLambda home page]. ; specifying processing instructions for any subset of the DTD s rules.|
|