XML transformation language (original) (raw)

From Wikipedia, the free encyclopedia

Type of programming language

An XML to XML transformation

An XML transformation language is a programming language designed specifically to transform an input XML document into an output document which satisfies some specific goal.

There are two special cases of transformation:

As XML to XML transformation outputs an XML document, XML to XML transformation chains form XML pipelines.

The XML (EXtensible Markup Language) to Data transformation contains some important cases. The most notable one is XML to HTML (HyperText Markup Language), as an HTML document is not an XML document.

The earliest transformation languages predate the advent of XML as an SGML profile, and thus accept input in arbitrary SGML rather than specifically XML. These include the SGML-to-SGML link process definition (LPD) format defined as part of the SGML standard itself; in SGML (but not XML), the LPD file can be referenced from the document itself by a LINKTYPE declaration, similarly to the DOCTYPE declaration used for a DTD.[1] Other such transformation languages, addressing some of the deficiencies of LPDs, include Document Style Semantics and Specification Language (DSSSL) and OmniMark.[2] Newer transformation languages tend to target XML specifically, and thus only accept XML, not arbitrary SGML.

  1. ^ Goldfarb, Charles F. (1990). Clause 12—Markup Declarations: Link Process Definition. Oxford: Clarendon Press. pp. 433–449. ISBN 0-19-853737-9.
  2. ^ Kimber, W. Eliot. "Why I Want the SGML LINK Feature". CoverPages.org.
  3. ^ Fancellu, Dino; Narmontas, William (June 2014). "XML Processing in Scala". XML London 2014: 63–75. doi:10.14337/XMLLondon14.Narmontas01 (inactive 1 November 2024). ISBN 978-0-9926471-1-7.{{[cite journal](/wiki/Template:Cite%5Fjournal "Template:Cite journal")}}: CS1 maint: DOI inactive as of November 2024 (link)