Jump to content

Simple Outline XML

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Tadman (talk | contribs) at 20:50, 13 July 2007 (See also). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Simple Outline XML (SOX) is a compressed way of writing XML.

SOX uses indenting to represent the structure of an XML document, eliminating the need for closing tags.

Taking a sample scrap of XHTML:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Sample page</title>
</head>
<body>
  <p>A very brief page</p>
</body>
</html>

This would appear in SOX as

html>
    xmlns=http://www.w3.org/1999/xhtml
    head>
        title> Sample page
    body>
        p> A very brief page

SOX can be readily converted to XML.

See also

Sources