Re: [PHP] Validating XML

[email protected] ("Chris Boget") Tue, 27 Apr 2004 09:24:48 -0500
Newsgroups php.general,php.xml.dev
Message-ID <018f01c42c63$cf5d9e20$8c01a8c0@entropy>
> 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