|
||||||||||||||||||||||
|
|
The xslt accessor is used to perform an XSLT transform on the operand document. XSLT is a W3C standard for transforming XML documents. The operand is the XML resource to be transformed, operator contains the xslt transform document.
An optional parameter can be passed into the XSLT in <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:param name="param" /> <xsl:template match="/"> <xsl:copy-of select="$param" /> </xsl:template> </xsl:stylesheet> Compiled TransformsThe underlying Xalan XSLT accessor supports transform compilation. Compiled transforms can be used by specifying xsltc as the instruction type. Use of compiled transforms can lead to significant performance gains, but may come at the cost of an initial compilation overhead. Your application context will determine whether to use interpreted or compiled transforms. Transform CachingAll XSLT transformations, both interpreted and compiled, are cached and frequently used transforms will not need to be rebuilt. This transparent caching gives good performance gains. Example
(C) 2003, 1060 Research Limited |
|||||||||||||||||||||
|
© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited
|
||||||||||||||||||||||