What does: “XSLT Error (javax.xml.transform.TransformerException): org.apache.xml.dtm.DTMException: No more DTM IDs are available” mean?
It means you are probably using a very old version of Xalan or Xalan-Java, likely the version 2.2D11 which was packaged in JDK1.4. Architectural changes made in early 2002 should have eliminated this issue for almost all cases. You should verify the version of Xalan-Java you are using by running the EnvironmentCheck utility, and read the FAQ about Issues running Xalan-Java on JDK 1.4.