Re: XML validation with XML Schema
| From: | Ace | Date: | Thu, 05 Aug 2004 06:57:48 +0000 |
| Subject: | Re: XML validation with XML Schema | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192810@lists.php.net to get a copy of this message | ||
Matias Bagini <matiasb <at> netlabs.com.ar> writes:
>
> Is there any way to validate an XML with XML Schema using PHP4... I need
> something like the
>
> bool DOMDocument->schemaValidate ( string filename)
>
> that exists on PHP5
>
> Thanks,
>
> Matias.
>
I use an external validator called XSV. It's the official W3C validator, i
guess...
http://www.ltg.ed.ac.uk/~ht/xsv-status.html
You'll just have to develop a little script to access it. This validator is
quite useful, because he sends you back an xml log for each validation. That
log describes each error.
Ace