Simple_Outline_XML

Simple Outline XML

Simple Outline XML

Add article description


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.

Example

The following XHTML markup fragment:

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

... would appear in SOX as:

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

SOX can be readily converted to XML.

See also

  • Haml is a meta-XHTML representation, originally implemented for Ruby and has a similar mark-up structure.

Sources


Share this article:

This article uses material from the Wikipedia article Simple_Outline_XML, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.