Monthly Archives: August 2005
Basic XML Parsing Example
I also added lines to print the results.Instantiating the class with $xml = new xmlClass() sets up the XML parsing engine and defines handlers that will get called automatically whenever a new XML tag is encountered. You can parse either a file by using $xml->parse(“filename.xml”) or a string using $xml->parseString($someString). Continue reading
Posted in PHP
Comments Off