XPointer

related topics
{math, number, function}
{system, computer, user}
{woman, child, man}

XPointer is a system for addressing components of XML based internet media.

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. XPointer Framework is a recommendation since March 2003.[1]

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 covered by a royalty-free technology patent held by Sun Microsystems.[2]

Contents

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:

<foobar id="foo">
  <bar/>
  <baz>
    <bom a="1"/>
  </baz>
  <bom a="2"/>
</foobar>

results as the following examples:

See also

References

External links

Full article ▸

related documents
Sequential access
Entropy encoding
Dining cryptographers protocol
RIPEMD
Binary symmetric channel
Filter (Unix)
Cfront
Canonical Encoding Rules
XBasic
SAX
Common Language Runtime
Simple module
Fibonacci
Centralizer and normalizer
Small-C
Elementary event
Euler-Jacobi pseudoprime
Star height problem
Landau's function
Data element
Yacc
Pedal triangle
Location parameter
Typed link
Unknot
Persistence
List of basic mathematics topics
Poem code
Randomization
Liouville function