Hi! We use Xalan 2 and have templates with the same name in two xsl-files. In the first file this template is defined, and It’s overridden, if necessary, in the second file. Since that, we’ve got problem that previously we had not (when we use Xalan 1). It seems that Xalan 2.01 doesn’t allow overriding templates. Is that true? Here goes short example: main.xsl: ... some preceding code <xsl:template name="draw-menu"> <!-- statndart code--> </xsl:template> ... other code -------------------------------------------------------- dependent.xsl <xsl:include href="../main.xsl"/> ..... then trying to override template <xsl:template name="draw-menu"> <!-- othrer code--> </xsl:template> this code causes the following exceptions: .... javax.xml.transform.TransformerConfigurationException: TRaX
Transform Throwable
Any help will be greatly appreciated. |
- Re: Problems with overridden templates in Xalan 2 Andrew Storoshenko
- Re: Problems with overridden templates in Xalan 2 Robert Kr?ger