Summary
In this brief article we have covered the following in regards to processing XML with PHP:
- Simple XML document structure
- defining simple tag definitions for the XML parser
- setting simple options for the XML parser
- registering callback functions with the XML parser
- using the XML parser from within a PHP class and
- then using that class from another script.
I hope that this introduction helps you in getting started and exploring the power of XML with PHP.
Some links that you may find helpful are listed below:
Some links that you may find helpful are listed below:
- https://phpbuilder.com/manual/ref.xml.php (The PHP XML function reference)
- http://www.jclark.com/xml/ (James Clark’s XML resources)
- http://www.ibm.com/developer/xml/ (IBM’s XML site)