You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Mitchell, Raymond" <Ra...@intuit.com> on 2001/08/01 17:19:31 UTC

Specifying DTD seperately from the XML document

I need to be able to instantiate a DOM Parser, specify a DTD to use with
that parser, and then parse/validate multiple XML documents with that parser
(using the same DTD each time).  I understand that the reuse validator flag
can be set to cause the same DTD to be used multiple times.  What I don't
know how to do is to parse the initial DTD without specifying an XML
document.  I don't want to parse a dummy XML document that references the
desired DTD (unless this is the only way to do this).  Is there an easy way
to have the DOM Parser parse a free-standing DTD?

Thanks,
Ray

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org