Re: Parsing XML with DTD
| From: | Per Jessen | Date: | Thu, 22 Nov 2007 20:18:39 +0000 |
| Subject: | Re: Parsing XML with DTD | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264973@lists.php.net to get a copy of this message | ||
Skip Evans wrote:
> I've been asked if it's possible to parse XML files given a DTD file
> that describes the elements within it,
Yes it is.
> Which has some samples on, but nothing that I see
> will take a DTD file and parse the XML accordingly.
> I'm thinking something like this is probably possible.
You don't actually need to DTD to parse it, but it does help with the
syntax-check of the contents.
/Per Jessen, Zürich