PHP » GoLang |
login |
register |
about
|
GoLang DOMNode::getNodePath
request it (256)
GoLang replacement for PHP's DOMNode::getNodePath
[edit | history]
DOMNode::getNodePath(PHP 5 >= 5.2.0, PHP 7) DOMNode::getNodePath — Get 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 |
more
Recently updated
more
Most requested
more
Last requests
|