xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Buroff" <...@lucent.com>
Subject Getting DTD in an output XML file
Date Mon, 07 Aug 2000 19:20:11 GMT
I have an application where the DTD is distributed. Most of it is in
a separate file but there is some in the DOCTYPE declaration of
the XML file. My problem is in writing out a modified version of the
XML file. I use the OutputFormat.setDoctype() method and this
does give me the DOCTYPE declaration with the correct SYSTEM
value. However, I can't figure out how to get the rest of the DTD, the
part that was in the DOCTYPE declaration in the input XML file,
into the output file.

I'm using xerces 1.1.3 and DOM. Any suggestions would be appreciated.

Steve Buroff

View raw message