Write DTD to XML File [message #70435] |
Thu, 15 April 2010 04:31 |
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
|
|
|