Provide more advanced (hyper)linking functionnalities to XML based applications:
History:
The Bazaar !
XPath describes the syntax and associated processing to select groups of nodes and attributes within an XML document tree.
25 pages.
XPointer build on top of XPath and add the following:
basically what is needed to be able to express a selection
XPointer disable variables supports in XPath
id(intro)/pall <p> child nodes of the element ID="intro"
//chapter[title="Introduction"]all the chapter elements having a child title of content "Introduction"
id(intro)/range{child(1),fsibling(2)}first through third children of ID=intro
/chapter[1]/p[2]/string(2, "W3C", 2)select the position of the '3' in the 2nd occurence of "W3C" in the second paragraph of the first chapter.
The current XLink draft is smaller (15 pages), linking properties can be defined using linking elements or adding linking specific attributes to existing elements.
Linking cababilities covers a wide spectrum:
Semantic of liking is refined with attributes:
A simple link on an user-defined element
<A xlink:type="simple" xlink:href="http://www.w3.org/TR/wd-xlink/" xlink:title="The Xlink Working Draft">The XLink Working Draft.</A>
A simple link using the predefined element
<xlink:simple href="http://www.w3.org/TR/wd-xlink/" title="The XLink Working Draft">The XLink Working Draft</xlink:simple>
The same with all attributes
<xlink:simple href="http://www.w3.org/TR/wd-xlink" role="working draft" title="The XLink Working Draft" show="replace" actuate="user"> The XLink Working Draft.</xlink:simple>
An extended link using the predefined element
<xlink:extended role="address book" title="DV's Address Book" showdefault="replace" actuatedefault="user"> <xlink:arc from="http://www.redhat.com/#xptr(/search[1])" to="http://rpmfind.net/linux/RPM">My search engine</xlink:arc> </xlink:extended>
An extended link on an user-defined element
<foo xlink:type="extended" role="address book" title="DV's Address Book" showdefault="replace" actuatedefault="user"> <xlink:arc from="http://www.redhat.com/#/search[1]" to="http://rpmfind.net/linux/RPM">My search engine</xlink:arc> </foo>
The XArc proposal was done by Gabe Beged-Dov before he joined the WG, his rationales are to simplify the syntax, and move toward an RDF like modelling of links. The debate in the IG list generate quite some heat.
The working group accepted to add Arcs support in the draft, but the minimalists now want to get rid of the "old stuff" ...
A cleaner spec sounds nice, the problem is that the ancient still have control and this doesn't really help the WD publication schedule.
<LoopArc xarc:from="#this()" xarc:to="#this()" > I'm a self-absorbed arc </LoopArc>
<EmbeddedToArc xarc:from="id(SomePlace)" xarc:to="#this()" > We're already there! </EmbeddedToArc>
<EmbeddedFromArc xarc:from="#this()" xarc:to="id(SomePlaceElse)" > Follow me to the destination </EmbeddedFromArc>
There is still IMHO a bunch of serious issues:
I'm still hoping we will get to REC for Fall.