Dual Syntax for XML Languages

Claus Brabrand, Anders Møller, Michael I. Schwartzbach

Citation
Claus Brabrand, Anders Møller, Michael I. Schwartzbach, Dual Syntax for XML Languages, Information Systems, 33(4-5):385-406, June 2008.
Descriptions
Abstract:

XML is successful as a machine processable data interchange format, but it is often too verbose for human use. For this reason, many XML languages permit an alternative more legible non-XML syntax. XSLT stylesheets are often used to convert from the XML syntax to the alternative syntax; however, such transformations are not reversible since no general tool exists to automatically parse the alternative syntax back into XML. We present XSugar, which makes it possible to manage dual syntax for XML languages. An XSugar specification is built around a context-free grammar that unifies the two syntaxes of a language. Given such a specification, the XSugar tool can translate from alternative syntax to XML and vice versa. Moreover, the tool statically checks that the transformations are reversible and that all XML documents generated from the alternative syntax are valid according to a given XML schema.

Annotation:

Keywords: (undefined keyword: xsugar);

Resources

Bibliography Navigation: Reference List; Author Index; Title Index; Keyword Index


Generated by sharef2html on 2011-04-15, 02:00:41.