Simple Outline XML: Difference between revisions
Appearance
Content deleted Content added
Cyberbot II (talk | contribs) Rescuing 1 sources. #IABot |
|||
Line 37: | Line 37: | ||
==Sources== |
==Sources== |
||
*http://www.langdale.com.au/SOX/ |
*http://www.langdale.com.au/SOX/ |
||
*http://www.ibm.com/developerworks/xml/library/x-syntax.html |
*http://web.archive.org/web/20071013205629/http://www.ibm.com:80/developerworks/xml/library/x-syntax.html |
||
Revision as of 12:26, 21 March 2016
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:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Sample page</title>
</head>
<body>
<p>A very brief page</p>
</body>
</html>
... 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
- JSON is another simple outline language (which is also the base of similar associative array initializers in PHP).
- Haml is a meta-XHTML representation, originally implemented for Ruby and has a similar mark-up structure.
Sources
- http://www.langdale.com.au/SOX/
- http://web.archive.org/web/20071013205629/http://www.ibm.com:80/developerworks/xml/library/x-syntax.html