Dave Barfield wrote: > With both of these methods I can recreate the original XML by recursing > through the tree and, for example, outputting the contents of the tree to a > StringBuffer. At this point the DOCTYPE line is gone as it doesn't appear > to have been stored in the DOM Tree.
What do you mean the doctype line is gone? If you parse a document with a doctype, the Document.getDoctype() should return the doctype node (unless we have a bug in our implementation..). It would be helpful if you attach the code you've wrote. Thanks! -- Elena Litani / IBM Toronto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]