Page 1 of 1

Validating an XML DOM in PHP using XSD

Posted: Wed Jul 08, 2009 8:46 am
by clarkeb
Hi,
I have a requirement to validate an XML document against an Schema. Looking around I've seen lots of partial support for this but I need the full monty. We're writing a GUI that requests a bunch of configuration information from a development team for an environment build. We need to constrain their answers in order to get sensible values, ideally we'll be able to constrain updates to the DOM a single element at a time so that we can get a nice AJAX front end to feed back to uses as they're typing if they go out of bounds. I know with schemas it's possible to get this fine grained control but from my initial research I dont see any PHP libraries available.

Any input appreciated
Bob