Hello > So this means that the compiled Translet Class implements the Templates > interface? It doesn't in the JavaDoc, so this is part of what I was missing > if it's true.
I tried this : javax.xml.transform.Templates template = (javax.xml.transform.Templates)new myTranslet(); myTranslet was compiled with : org.apache.xalan.xsltc.cmdline.Compile But I got a ClassCastException. So, the JavaDoc is right and the compiled Translet Class doesn't implements the Templates interface... I don't know how to get a Transformer from a Translet and the "transform" method of Translet doesn't allow us to transform already parsed Xml... Olivier.
