Validating XML in PHP
Ensure data integrity and validate XML documents against an XML schema in PHP
From the developerWorks archives
Date archived: April 18, 2019 | First published: November 10, 2009
PHP developers commonly require the services of an Extensible Markup Language (XML) parser in their code. Along these lines, they frequently find it necessary to validate XML input. Fortunately, you can easily accomplish this in PHP. This article shows you how to validate XML documents within PHP and determine the cause of validation failures.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.