August 2006
Intermediate to advanced
1018 pages
34h 13m
English
Node.selectNodes( ): select nodes with an XPath query — IE 6
NodeList selectNodes(Stringquery)query
The XPath query string.
A single Node that matches the
query, or null if there are none.
This IE-specific method evaluates an XPath expression using
this node as the context node. It returns the first matching node
found, or null if no nodes match.
The selectSingleNode( ) method
exists only on the nodes of XML documents, not HTML documents. Note
that since Document objects are themselves nodes, this method can be
applied to entire XML documents.
For a cross-browser alternative, see Document.evaluate( ).
Document.evaluate( ),
XPathExpression; Chapter 21
Read now
Unlock full access