Dual Syntax for XML Languages

Claus Brabrand, Anders Møller, Michael Ignatieff Schwartzbach

    Publikation: Bidrag til tidsskrift/Konferencebidrag i tidsskrift /Bidrag til avisTidsskriftartikelForskningpeer review

    28 Citationer (Scopus)

    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.

    OriginalsprogEngelsk
    TidsskriftInformation Systems
    Vol/bind33
    Nummer4
    Sider (fra-til)385-406
    Antal sider21
    ISSN0306-4379
    DOI
    StatusUdgivet - 2008

    Emneord

    • XML transformation
    • Non-XML syntax
    • Reversible
    • Bidirectional
    • kontekstfrie grammatikker

    Fingeraftryk

    Dyk ned i forskningsemnerne om 'Dual Syntax for XML Languages'. Sammen danner de et unikt fingeraftryk.

    Citationsformater