请输入您要查询的百科知识:

 

词条 Simple Outline XML
释义

  1. Example

  2. See also

  3. Sources

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:

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

  • 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

  • Simple Outline XML: SOX
  • [https://web.archive.org/web/20071013205629/http://www.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]
{{technology-stub}}{{compu-lang-stub}}

2 : XML|Lightweight markup languages

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 0:30:15