|
DOMNode::getNodePathGet an XPath for a node Description
public stringnull DOMNode::getNodePath()
Gets an XPath location path for the node. ParametersThis function has no parameters. Return Values
Returns a string containing the XPath, or Examples
Example #1 DOMNode::getNodePath example
The above example will output: /fruits /fruits/apples /fruits/apples/apple[1] /fruits/apples/apple[2] /fruits/pears /fruits/pears/pear See Also
|