Hi Greg, 

Greg Hess wrote:
> 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.

Can you provide a test case? I've tried to serialize data/personal.xml
(using XMLSerializer) and it does output the DOCTYPE..
 
> Now my app is hard coded to using a specific implementation of a
> Serializer is there a similar strategy to use in obtaining a
> DOMSerializer?

DOM Level 3 provides an API for saving/loading DOM. This specification
is still a working draft, meaning that API still in development and
might change. For more information see:
http://xml.apache.org/xerces2-j/faq-dom.html#faq-3
http://www.w3.org/TR/2002/WD-DOM-Level-3-LS-20020725/load-save.html


Thanks,
-- 
Elena Litani / IBM Toronto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to