How to build DOM with a DOCTYPE? 2003-01-13 - By Simon Kitching
Hi Greg,
You don't mention what technique you are using to serialize your DOM.
If you are using org.apache.xml.serialize.DOMSerializer, then the OutputFormat object which is passed to its constructor has the following method: OutputFormat.setDoctype(String doctypePublic, String doctypeSystem)
Regards,
Simon
On Tue, 2003-01-14 at 05:15, Greg Hess wrote: > Hi All, > > > > I have been building a Document with a DOCTYPE using the > DOMImplementation but when I serialize the DOM to file or OutputStream > the DOCTYPE is missing. > > > > How can I achieve this? > > > > Many thanks, > > > > Greg > >
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|