Re: XML Validate

From: Date: Sat, 01 Nov 2003 09:03:49 +0000
Subject: Re: XML Validate
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168257@lists.php.net to get a copy of this message
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

« previous php.general (#168257) next »