Now, the "use-class" property = true, indicates that the the
TransformerFactorty should expect a precompiled Translet (Java Class
representation of XSL) at the ClassPath.
For this I will have to make sure that the translet is generated before
the application starts.
If "use-class" property = false, the TransformerFactory will compile the
XSL into translet on its own.
I would like a way where XSLTranformerFactory determines on its own
whether a Translet is already existing. If yes, it shoud use it, and if
no it should generate it.
Is there a way that can be done by setting some attribute of the
factory, and without me having to write code to check the presence of
I read from somewhere that setting the attribute "use-from-classpath" to
true, accomplishes that, but looks like the XSLTC factory does not
support that attribute.