XPointer
XPointer is a system for addressing components of XML-based Internet media. It is divided among four specifications: a "framework" that 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 W3C recommendation since March 2003. 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. During development, and until 2016, XPointer was covered by a royalty-free technology patent held by Sun Microsystems.
XPointer is a system for addressing components of XML-based Internet media. It is divided among four specifications: a "framework" that 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 W3C recommendation since March 2003. 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. During development, and until 2016, XPointer was covered by a royalty-free technology patent held by Sun Microsystems. results as the following examples: xpointer(id("foo")) => foobar xpointer(/foobar/1) => bar xpointer(//bom) => bom (a=1), bom (a=2) element(/1/2/1) => bom (a=1) (/1 descend into first element (foobar), /2 descend into second child element (baz), /1 select first child element (bom))
References
No reference rows published for this article.
Cite this article
MLA
"XPointer." encyclopegia.org, 2025, https://encyclopegia.org/wiki/xpointer. Accessed 23 November 2026.
Chicago
"XPointer." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/xpointer.
APA
encyclopegia.org. (2025). XPointer. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/xpointer
Accessed November 23, 2026 · CC BY-SA 4.0 · citation page · JSON