Simple Outline XML
Encyclopedia
Simple Outline XML is a compressed way of writing XML
.
SOX uses indenting to represent the structure of an XML document, eliminating the need for closing tags.
markup fragment:
... would appear in SOX as:
SOX can be readily converted to XML.
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
.
SOX uses indenting to represent the structure of an XML document, eliminating the need for closing tags.
Example
The following XHTMLXHTML
XHTML is a family of XML markup languages that mirror or extend versions of the widely-used Hypertext Markup Language , the language in which web pages are written....
markup fragment:
Sample page
A very brief page
... 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
- JSONJSONJSON , or JavaScript Object Notation, is a lightweight text-based open standard designed for human-readable data interchange. It is derived from the JavaScript scripting language for representing simple data structures and associative arrays, called objects...
is another simple outline language (which is also the base of similar associative array initializers in PHPPHPPHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document...
). - HamlHamlHaml is a lightweight markup language that is used to describe the XHTML of any web document without the use of traditional inline coding. It’s designed to address many of the flaws in traditional templating engines, as well as making markup as elegant as it can be...
is a meta-XHTML representation that integrates with Ruby on RailsRuby on RailsRuby on Rails, often shortened to Rails or RoR, is an open source web application framework for the Ruby programming language.-History:...
and has a similar mark-up structure.
Sources
- http://www.langdale.com.au/SOX/
- http://www.ibm.com/developerworks/xml/library/x-syntax.html