You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by mohammedi padaria <mp...@yahoo.com> on 2002/12/31 18:46:53 UTC

serializing a DOM tree writes out the Comments in the DTD

Every time I serialize a DOM Tree it also writes out the comments from the DTD. How can I prevent this from happening. 

I am using org.apache.xml.serialize.OutputFormat

setOmitComments omits all the comments even the ones that were present in the document. 

Thanks

 



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now