Use XML in PHP. PHP contains optional XML extensions that support the Expat parser. The XML-related functions in PHP allow you to create a parser to process valid XML documents. If your Apache version is 1.3.7 and later, PHP contains an optional XML extension that supports the Expat parser. The XML-related functions in PHP allow you to create a parser to process valid XML documents. If your Apache version is 1.3.7, you do not need to add any function libraries. All you need to do is to use -- with-xml to configure PHP.
Several examples of creating a PHP-based XML parser are provided in the PHP Manual. In addition, the New Riders Web Application Development with PHP 4.0 has a good overview of using XML in PHP. one of the authors of this book has written a lot of instructions on Zend.com.
Like the support for Java and COM, PHP's support for XML is still in its infancy. If you already have Expat or LibXML related experience, you can use your expertise to skip some content.
Julie Meloni is the technical director of i2i Interactive and a strong promoter of the Linux and open source communities. She has written many books on PHP and other technologies and has become an expert with long-term contributions to CNET Builder.com.
Optional XML extension of the parser. The XML-related functions in PHP allow you to create a parser to process valid XML documents. If your Apache version is 1.3.7 or later...