XOXO
2396706
217962756
2008-06-08T14:51:14Z
Yuriybrisk
195744
OLPC
:'''''XOXO''' is also a symbol for [[Hugs and Kisses]] and [[Love and Kisses]]'' .
:''For the OLPC notebook see [[One Laptop per Child#Future|XO-2]]''
'''XOXO''' ('''eXtensible Open XHTML Outlines''') is an [[XML]] [[microformat]] for outlines built on top of [[XHTML]]. 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 file format|S5 presentation file format]] is based upon XOXO.
==XML format==
The XML elements in an XOXO 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 <code>compact="compact"</code> 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]]), 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) elements.
==Example XOXO uses==
*play list
*specification
*[http://meyerweb.com/eric/tools/s5/xoxo-structure-ref.html presentation]
*directory
*blogroll
==See also==
*[[XHTML]]
*[[microformats]]
*[[XHTML Friends Network|XFN]]
*[[VoteLinks]]
*[[OML]]
*[[OPML]]
*[[S5 file format]]
*[[XBEL]]
==External links==
*[http://microformats.org/wiki/xoxo XOXO specification]
*[http://microformats.org/wiki/xoxo-sample-code xoxo.py] Open source Python library for XOXO outlines
*[http://www.decafbad.com/2005/07/map-test/tree2.html outliner.js] Open source CSS+Javascript based powerful XOXO outline editor
[[Category:Content syndication markup language]]
[[Category:Microformats]]
[[Category:Semantic HTML]]
[[Category:XML-based standards]]