FACTOID # 116: More than a third of the world's airports are in the United States of America.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Simple Outline XML

Simple Outline XML (SOX) is an alternative syntax used to simplify the textual representation of Extensible Markup Language (XML) documents. It is designed to be simpler, easier to read, and less verbose than standard XML while still being as machine-readable. Since it is easily parsed, a valid SOX document can easily be transformed into a valid XML document. The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages (it is a metaformat). ...


Standard XML syntax consists of textual data which is marked-up using markup instructions, referred to as tags. All text affected by one of these instructions is encapsulated between a start and end tag. The start tag consists of a less-than (<) symbol, the instruction name, any appropriate attributes as name-value pairs, and a greater-than (>) symbol. An end tag appears at the end of the affected text, consisting of a less-than symbol, a slash (/), the instruction name, and a greater-than symbol. The following is an example of an XML document: There is more than one usage of the word markup. ...

 <?xml version="1.0" encoding="UTF-8"?> <Recipe name="bread" prep_time="5 mins" cook_time="3 hours" > <title>Basic bread</title> <ingredient amount="3" unit="cups" >Flour</ingredient> <ingredient amount="0.25" unit="ounce" >Yeast</ingredient> <ingredient amount="1.5" unit="cups" >Warm Water</ingredient> <ingredient amount="1" unit="teaspoon" >Salt</ingredient> <Instructions> <step>Mix all ingredients together, and knead thoroughly.</step> <step>Cover with a cloth, and leave for one hour in warm room.</step> <step>Knead again, place in a tin, and then bake in the oven.</step> </Instructions> </Recipe> 

Simple Outline XML uses whitespace indentation to encode some of the information ordinarily encoded using XML tags. The level of indentation makes the structure of the document immediately apparent, which eliminates the need for closing tags. Each line represents a single element, attribute, or text node which also eliminates the need for attribute quoting. Elements are represented by names ending with a greater-than symbol, attributes contain an equals (=) sign, and any other text entities are text nodes. Text may be quoted if it contains a greater-than symbol or an equals sign. The following is the SOX representation of the above XML document: For information on the programming language Whitespace, see Whitespace programming language. ...

 Recipe> name=bread prep_time=5 mins cook_time=3 hours title>Basic bread ingredient> amount=3 unit=cups Flour ingredient> amount=0.25 unit=ounce Yeast ingredient> amount=1.5 unit=cups Warm Water ingredient> amount=1 unit=teaspoon Salt Instructions> step>Mix all ingredients together, and knead thoroughly. step>Cover with a cloth, and leave for one hour in warm room. step>Knead again, place in a tin, and then bake in the oven. 

External link

  • http://www.langdale.com.au/SOX/

  Results from FactBites:
 
SOX (833 words)
SOX uses indenting to represent the structure of an XML document, which eliminates the need for closing tags and a number of quoting devices.
SOX can be used to write a subset of XML consisting of elements, attributes and text.
The foregoing definition of SOX is in the public domain and may be copied and used freely.
Simple Outline XML - Wikipedia, the free encyclopedia (122 words)
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.
Note that Simple Outline XML is unrelated to Schema for Object-Oriented XML, also known as SOX.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.