Validating XML
| From: | Brad Bonkoski | Date: | Fri, 21 Apr 2006 15:53:39 +0000 |
| Subject: | Validating XML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-234498@lists.php.net to get a copy of this message | ||
Hello,
Anyone have pointers to good tutorials out there for validating XML with DTD?
I have looked at the top comment on:
http://www.php.net/manual/en/ref.xmlreader.php#xmlreader.constants
Where you set the parser property to validate, but it is kind of like a black box...what is it using the validate the XML schema? I am working with an XML document and a DTD file which is separate, do the files have to share a name with a different extension, or does the DTD somehow have to be embedded?
TIA
-Brad