Re: Validating XML
| From: | Chris Boget | Date: | Tue, 27 Apr 2004 14:24:48 +0000 |
| Subject: | Re: Validating XML | ||
| References: | 1 | Groups: | php.general php.xml.dev |
| Request: | Send a blank email to php-general+get-184759@lists.php.net to get a copy of this message | ||
> I am examining options for validating XML documents either using XSD
> schema or something like schematron (DTD are not robust enough for my
> needs), and am wondering what other PHP developers are using to do this.
I recently started working on a project where I needed to validate XML
against a schema (XSD) and after searching for 3 days, ended up with
nada with regards to a native PHP solution.
What I ended up resorting to was using Sun's "Multi Schema Validator".
Yes, I have to shell out to use it and I have to jump through some small
hoops to check success or failure but, apart from that, it seems ot work
very well.
You can learn more about it here:
http://wwws.sun.com/software/xml/developers/multischema/
HTH
Chris