|
DOMNode::getNodePathGet an XPath for a node Description
public string DOMNode::getNodePath
( void
)
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
<?php The above example will output: /fruits /fruits/apples /fruits/apples/apple[1] /fruits/apples/apple[2] /fruits/pears /fruits/pears/pear See Also
|