I need to duplicate XML documents. I'm using Xerces, going through the JAXP interface. I can't find any way to copy the document type node from one document to a new one. What are other people doing in this situation, or is there a suggested way to do it?
Thanks.