Friday, September 05, 2008

Simple Outline XML

For developers who don't like XML, it might be good to know that even developers who do like XML only use it when it is appropriate. For example, XML technologies like XQuery (Recommendation) and RELAX NG Compact Notation have a notation that looks more like script than like XML. But if you want it to be XML, there still is XQueryX (Working Draft) and RELAX NG XML Notation.

For some XML documents, especially tree structures, XML is not always the best human readable format. For these purposes, there are technologies like Simple Outline XML (SOX) which produce XML equivalent notations for documents that can easily be translated back to the original XML format. 

The website on SOX provides this example:

stylesheet> 
    xmlns=http://www.w3.org/1999/XSL/Transform
    version=1.0
    template> 
        match=node()
        copy> 
            apply-templates>
                select=node()>

0 reacties: