Validating an XML DOM in PHP using XSD

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
clarkeb
Forum Newbie
Posts: 1
Joined: Wed Jul 08, 2009 8:36 am

Validating an XML DOM in PHP using XSD

Post 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
Post Reply