Cosmin wrote:

Is there a function to validate a XML document(make sure tags are
closed/nested)?


The xml parser will throw an error if you try and pass it an invalid xml document (which you can catch and process).


However, it would be best if you can validate your xml document first before running it through the parser.

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to