[EMAIL PROTECTED] (Jason E. Stewart) writes:

> From: Ted Onley <[EMAIL PROTECTED]>
> Subject: DTD's and XML::Xerces
> To: "Jason E. Stewart" <[EMAIL PROTECTED]>
> Date: Mon, 18 Oct 2004 15:05:01 -0500
>
> How/Where do DTD files fit into XML::Xerces?  Is validation against a 
> DTD file available?

Hi Ted,

The only thing special you need to do is ensure that you have turned
on validation. You can see the examples in samples/ for how to do this
for each of the different parsers.

Besides that either the DTD must be in the same directory as the file
to be validated, or you must use an EntityResolver to locate the
DTD. There are example for how to do this in samples/ and t/.

Cheers,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to