19.4 Referencing Part of an XML Document with XPointer.NET
Sometimes you want to work with just a portion of an XML document you’re processing. XPointer, an XML standard defining syntax for identifying fragments of an XML document, can help. It extends the capabilities of XPath by allowing references to external documents and by supporting selections that XPath cannot perform, such as ranges.
XPointer.NET is an implementation of the XPointer standard for .NET. It is an important foundation technology used in XInclude.NET and was created primarily to support it.
XPointer.NET at a Glance | |
---|---|
Tool | XPointer.NET |
Version covered | 2.0 |
Home page | |
Power Tools page | |
Summary | Implements the XPointer standard, which allows you to reference a fragment of an XML document |
License type | BSD |
Online resources | Blog postings, newsgroups |
Supported Frameworks | .NET 2.0 (earlier versions also available for .NET 1.1) |
Related tools in this book | nxslt2, eXml, XInclude.NET, EXSLT.NET |
Getting Started
You can download XPointer.NET as part of the Mvp.Xml library, available at http://sourceforge.net/project/showfiles.php?group_id=102352. You can choose to download a .zip of the binary or source files. The binary .zip contains three files: Mvp.Xml.dll, readme.txt, and license.txt. To use this in your project, you need only to extract the Mvp.Xml assembly.
Tip
Get Windows Developer Power Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.