comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Write DTD to XML File
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Write DTD to XML File [message #70435] Thu, 15 April 2010 04:31
Dr Steve is currently offline  Dr Steve
Messages: 1
Registered: April 2010
Junior Member
Hi All,

I'm using the IDL XML objects for reading and writing XML parameter
files for my applications. However, I can't see how to write a DTD to
my XML file. If I read in an XML file, with a DTD, using the LOAD
method for the IDLffXMLDOMDocument class, and then write it back out
using the SAVE method of the same class, the DTD is preserved. Also if
I delete the DocumentType Node, and then write out the file, the DTD
is no longer written. So the DTD is stored within DocumentType node.
However, none of the methods to the IDLffXMLDOMDocumentType seem to
give me access to the DTD. Anyone dealt with this before?

I actually use the SAX parser for reading my XML, and I believe it
would give me access to the DTD (via the startDTD/endDTD methods), but
this still doesn't allow me to write the DTD to the XML file.

Thanks,

Stephen
[Message index]
 
Read Message
Previous Topic: Re: Object Graphics Color Weirdness
Next Topic: Re: Write DTD to XML File

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:14:39 PDT 2025

Total time taken to generate the page: 0.00437 seconds