Skip to Content
Real World XML
book

Real World XML

by Steven Holzner
January 2003
Beginner to intermediate content levelBeginner to intermediate
1200 pages
23h 42m
English
Peachpit Press
Content preview from Real World XML

XPointer Node Tests

These are the node tests you can use with XPointers, along with what they match:

* Any element
node() Any node
text() A text node
comment() A comment node
processing-instruction() A processing instruction node
point() A point in a resource
range() A range in a resource

Note in particular the last two: point() and range(). These correspond to the two new constructs added in XPointers, points and ranges. I'll talk more about them at the end of this chapter. As you can see here, in XPointer, XPath node tests are extended to be able to include points and ranges as well.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Inside XML

Inside XML

Steven Holzner
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0735712867Purchase book