Simple Outline XML: Difference between revisions

Content deleted Content added
CDV (talk | contribs)
expanded entry
previous afd
 
(37 intermediate revisions by 31 users not shown)
Line 1:
'''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 ==
Taking a sample scrap of XHTML:
 
The following [[XHTML]] markup fragment:
<pre>
 
<syntaxhighlight lang="html">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Line 14 ⟶ 16:
</body>
</html>
</syntaxhighlight>
</pre>
 
This... would appear in SOX as:
 
<pre>
html>
xmlns =http://www.w3.org/1999/xhtml
head>
title> Sample page
Line 29 ⟶ 31:
SOX can be readily converted to XML.
 
==See also==
Note that <i>Simple Outline XML</i> is unrelated to [[Schema for Object-Oriented XML]], also known as SOX.
* [[Haml]] is a meta-XHTML representation, originally implemented for [[Ruby (programming language)|Ruby]] and has a similar mark-up structure.
 
{{technology-stub}}
 
==Sources==
* [https://web.archive.org/web/20200201103956/http://www.langdale.com.au/SOX/ Archive.org: Simple Outline XML: SOX]
* [https://web.archive.org/web/20071013205629/http://www-128.ibm.com/developerworks/xml/library/x-syntax.html Archive.org: IBM Developer Works > XML > XML Watch: Exploring alternative syntaxes for XML, Weighing the pros and cons]
 
{{markup-languages-stub}}
 
[[Category:XML]]
[[Category:Lightweight markup languages]]