XOXO
Encyclopedia
XOXO is an 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....

 microformat
Microformat
A microformat is a web-based approach to semantic markup which seeks to re-use existing HTML/XHTML tags to convey metadata and other attributes in web pages and other contexts that support HTML, such as RSS...

 for outlines built on top of XHTML
XHTML
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....

. Developed by several authors as an attempt to reuse XHTML building blocks instead of inventing unnecessary new XML elements/attributes, XOXO is based on existing conventions for publishing outlines, lists, and blogrolls on the Web.

The XOXO specification defines an outline as a hierarchical, ordered list of arbitrary elements. The specification is fairly open which makes it suitable for many types of list data. E.g. the more semantic version of the S5 presentation file format
S5 file format
S5 is an XHTML-based file format for defining slideshows. It was created by Eric Meyer as an alternative to the browser-centric Opera Show Format...

 is based upon XOXO.

XML format

The XML elements in an XOXO2 document are:

<ol class="xoxo"> and <ul class="xoxo"> : The ordered list and unordered list are the root elements of XOXO. They may contain the class attribute with the value "xoxo". They are also used as containers for outline items. They may have the attribute compact="compact" to indicate state of whether child items are visible or not.

<li> : Represents an item in the outline. May contain an ordered list or unordered list element to contain child items which themselves may do so as well.

<a> : Represents a hyperlink for an item in the outline. May have a "title" attribute to indicate additional information, a "type" attribute to indicate the MIME type of the resource at the destination of the href, a "rel" attribute to indicate the relationship of the resource at the href to this outline (e.g. using XFN
XHTML Friends Network
XHTML Friends Network is an HTML microformat developed by Global Multimedia Protocols Group that provides a simple way to represent human relationships using links. XFN enables web authors to indicate relationships to the people in their blogrolls by adding one or more keywords as the rel...

), and/or a "rev" attribute to indicate the relationship of this outline to the resource at the href (e.g. using VoteLinks).

<dl> : May contain any number of arbitrary properties using <dt> (definition term) and <dd> (definition description) elements.

Example XOXO uses


See also

  • XHTML
    XHTML
    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....

  • Microformat
    Microformat
    A microformat is a web-based approach to semantic markup which seeks to re-use existing HTML/XHTML tags to convey metadata and other attributes in web pages and other contexts that support HTML, such as RSS...

  • XFN
    XHTML Friends Network
    XHTML Friends Network is an HTML microformat developed by Global Multimedia Protocols Group that provides a simple way to represent human relationships using links. XFN enables web authors to indicate relationships to the people in their blogrolls by adding one or more keywords as the rel...

  • OML
    OML
    OML is an XML format for outlines. It was originally proposed by Ray Grieselhuber. The specification is designed to build upon the concepts found in OPML, with the goal of fixing some of its limitations....

  • OPML
    OPML
    OPML is an XML format for outlines...

  • S5 file format
    S5 file format
    S5 is an XHTML-based file format for defining slideshows. It was created by Eric Meyer as an alternative to the browser-centric Opera Show Format...

  • XBEL
    XBEL
    XBEL, or the XML Bookmark Exchange Language, is an open XML standard for sharing Internet URIs, also known as bookmarks ....


External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK