PHP » GoLang |
login |
register |
about
|
GoLang SimpleXMLElement::xpath
request it (400)
GoLang replacement for PHP's SimpleXMLElement::xpath
[edit | history]
SimpleXMLElement::xpath(PHP 5, PHP 7) SimpleXMLElement::xpath — Runs XPath query on XML data Description
public array SimpleXMLElement::xpath
( string
$path
)
The xpath method searches the SimpleXML node for
children matching the XPath Parameters
Return Values
Returns an array of SimpleXMLElement objects or Examples
Example #1 Xpath
<?php The above example will output: /a/b/c: text /a/b/c: stuff b/c: text b/c: stuff Notice that the two results are equal. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|