Precompiling using the command-line tools
You can use the CompileXSLT tool to precompile one or more
stylesheets, use the CompileXPath tool to precompile one or more XPath
expressions, and use the CompileXQuery tool to precompile one or more
XQuery expressions.
Precompiling using ANT tasks
You can use the TaskCompileXPath, TaskCompileXQuery, and
TaskCompileXSLT ANT tasks as alternatives to using the CompileXPath,
CompileXQuery, and CompileXSLT commands.
Precompiling in Java
You can use the XCompilationFactory interface and its various
compile and load methods to compile an expression, query, or stylesheet
in advance. The Java classes
can be loaded at execution time, therefore avoiding the cost of compilation
in the application run time.
Loading a precompiled executable
You can use the XCompilationFactory interface and its various
load methods to load a precompiled expression, query, or stylesheet.
These load methods load the Java classes
and return an XPathExecutable, XQueryExecutable, or XSLTExecutable
object respectively.
Last updated: April 18, 2014 05:01 AM CDT http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=txml_precompiling File name: txml_precompiling.html