Re: DTD validation without DOCTYPE in xml
- From: Martin Honnen <mahotrash@xxxxxxxx>
- Date: Thu, 07 Jul 2005 14:04:22 +0200
YewMing wrote:
I have some XML files that needs to be validated with a DTD but the xml files does not have the DOCTYPE tag that reference to the dtd file. Is there any way to tell XmlValidatingReader to specifically use that DTD file even when DOCTYPE is not in the xml file?
No, I don't think so, but it is possible to use XSLT or other tools to make a copy of the incoming XML where the DOCTYPE declaration is added and then you can do validation on the copy.
--
Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ .
- Follow-Ups:
- Re: DTD validation without DOCTYPE in xml
- From: YewMing
- Re: DTD validation without DOCTYPE in xml
- References:
- DTD validation without DOCTYPE in xml
- From: YewMing
- DTD validation without DOCTYPE in xml
- Prev by Date: Re: XmlDocumentClass and Finding Nodes
- Next by Date: Using HTTP request to POST XML files?
- Previous by thread: DTD validation without DOCTYPE in xml
- Next by thread: Re: DTD validation without DOCTYPE in xml
- Index(es):
Relevant Pages
|