Hi, for the newTransformer() method it (Xalan-j_2_0_) now includes the DTD-Reference if there is one, but erases all entity-references. In speaking of a serialization (or a copy) of a DOM tree they should not be erased. You are able to check this with the data I have earlier sent to you on this theme. Regards Thomas