|
SYNOPSIS
xmlXPath xmlTreeNewXPath(xmlDoc doc)
Parameters:
-
doc - the xmlDoc to create the XPath for
Returns:
DESCRIPTION
xmlTreeNewXPath() creates a new xmlXPath engine to use on
the XML document doc. The xmlXPath object is tied to
the doc, so each document needs its own xmlXPath object.
This object can then be used in xmlTreeXPathExecute() to execute
XPath expressions.
EXAMPLE
<$xpath = (xmlTreeNewXPath($doc))>
SEE ALSO
xmlTreeXPathExecute,
xmlTreeXPathRegisterNs
xmlTreeXPathSetContext
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|