Hi: When using Xalan transformer, or Serializer for writing DOM to a file, how to keep the <!DOCTYPE> node? It works fine from command line (java org.apache.xalan.xslt.Process ...), but not in java code. I tried sample code in xalan.DOM2DOM (Serializer) and sun's xml tutorial write out a DOM http://java.sun.com/xml/jaxp-1.1/docs/tutorial/xslt/2_write.html, both write files with the <!DOCTYPE > node missing. Thanks. Ying
