links
The standard way to search through XML documents for particular nodes is called XPath. XPath is much easier than regular expressions for basic usage.
Example:
|
$XML = simplexml_load_file('employees.xml"); echo "<strong>Using direct method....</strong><br />"; echo "<strong>Using direct method....</strong><br />"; echo "<strong>Using direct method....</strong><br />";
|