The short answer is that translets in most cases are much faster because they
incorporate the instructions from the stylesheet as Java bytecode,
which at runtime are used to transform an XML source.

The  translet only encodes the operations included in the stylesheet.
XSLTC maximizes performance by building an optimized internal representation
of the XML source tree, which can be cached in memory. Then at runtime you can
apply the compiled translet against the cached XML source. This is best
suited to the case where you want to transform the same (or infrequently
changing) XML source over and over.

Tom
 

Dmitri Ilyin wrote:

 Hi *,What is the basic difference bitween templates and XSLTC translet???Which advantages give translets??Which should be used to better performance??regardsDmitri

Reply via email to