Xml Info

XT -- A Bundle of Program Transformation Tools
[Under construction -- MartinBravenboer - 12 Jul 2003]


The xml-info language is a representation of an XML document in the Stratego.ATerm? format. The xml-info language feels like a DOM representation of an XML document, but it is just data, not an API. The -info part in the name of this language indicates that it limits the representation of an XML document to the information present in the document.

There is only an abstract syntax for the xml-info language (not a concrete syntax). The abstract syntax for the xml-info language is defined by an RTG in the xml-front package.

Syntactical details like entities, comments, whitespace and empty elements are not available in the xml-info language. The xml-info language has constructs to represent XML namespaces. There is no syntactic sugar in xml-info: every element and attribute has for example the complete namespace URI in its name and as another example there is no distinction between empty-elements and elements without children.

Definition in RTG

 __Note:__  Included topic [[https:..svn.cs.uu.nl:12443.repos.StrategoXT.trunk.StrategoXT.xml-front.sig.xml-info.xml-info.rtg]] does not exist yet

Related topics

Tools.XmlInfo moved from Stratego.XmlInfo on 27 Jun 2004 - 19:46 by MartinBravenboer - put it back