Click to See Complete Forum and Search --> : Is it necessary to have a ref to the DTD within the XML


July 24th, 2000, 09:50 PM
hi,

I want to validate an XML based on a DTD.

Is it necessary to have a reference to the DTD
within the XML.

I dont want it that way. How can i specify the
DTD file dynamically while calling the parse
method.

Thanks in advance
Gita

Venu Kuamr.B.
July 28th, 2000, 02:43 AM
if u want to validate XML u suppose to give the ref to DTD in XML it self.

MSXML vr -2 xml parser dose not suport dynamic validation of XML document.

The parser is only to work on XML content not for validte XML over DTD.

cheers ,
venukumar.B

srganesh
April 3rd, 2001, 09:01 PM
Did you find solution this problem.I have to do the same ,can you send me the procedure of how to do it.I have to check the recived xml file with the dtd file i have.
Thanks
ganesh