The text() node test specifically refers to the parsed character data content of an element. It's most commonly used with mixed content. For instance /descendant::text() will refer to all of the text but none of the markup of a document.

Because character data does not contain child elements, further relative location terms may not be attached to an XPointer that selects a text node.

Previous | Next | Top | Cafe con Leche

Copyright 1999 Elliotte Rusty Harold
Last Modified August 20, 1999