XPointer |
XPointer is a system for addressing components of XML based internet media.
At the present time (late 2002), XPointer is divided among four specifications: a framework which forms the basis for identifying XML fragments, a positional element addressing scheme, a scheme for namespaces, and a scheme for XPath-based addressing.
The XPointer language is designed to address structural aspects of XML, including text content and other information objects created as a result of parsing the document. Thus, it could be used to point to a section of a document highlighted by a user through a mouse drag action.
XPointer is encumbered by a technology patent held by Sun Microsystems.
= Positional Element Addressing =
The element() scheme introduces positional addressing of child elements. This is similar to a simple XPath address, but subsequent steps can only be numbers representing the position of a descendant relative to its branch on the tree.
For instance, given the following fragment:
the XPointer to bom would be:
element(foo/2/1)
=See Also =
=External links =
*[http://www.w3.org/TR/xptr-framework/ XML fragments] *[http://www.w3.org/TR/xptr-element/ Positional element addressing] *[http://www.w3.org/TR/xptr-xmlns/ Namespacing] *[http://www.w3.org/TR/xptr-xpointer/ Path based addressing] *[http://lists.w3.org/Archives/Public/www-xml-linking-comments/2000OctDec/0092.html XPointer patent terms and conditions]|
|