Hi,
 
When I create a DOM from an existing file the resulting xml has the following elements missing
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
 
I am using DocumentBuilder.parse(File file) to load the DOM tree. Is there a way to retain or add these elements?
 
Regards.
 
Matt