Validating structure of XML string

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
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Validating structure of XML string

Post by Shendemiar »

I need to validate xml strings, and i do not mean Schema or DTD or relaxNG validation, but just that all opened tags are closed, all attributes have values quoted, and things like that.

Is there commands for this? Maybe a handy class or function somewhere?
Post Reply