Running on TS 7.3.2...
Searched the forums, and "working examples" i found not working for me. Trying to generate an extra output file from an XSLT PT using the xalan redirect extension.
I get the following error when trying to generate the output from TS:
ERROR [STDERR] (Location of error unknown)java.util.NoSuchElementException
I declare the namespace:
xmlns:redirect="http://xml.apache.org/xalan/redirect"
and use it in my xslt as follows:
<xsl:template name="productList">
<xsl
aram name="lang"/>
<redirect:write select="productList_en.html">
<xsl:for-each select="department/product">
<li class="list-group-item"><a rel="external" href="{./*[name()=concat('url_',$lang)]}}"><xsl:value-of select="./*[name()=concat('label_',$lang)]}"/></a></li>
</xsl:for-each>
</redirect:write>
</xsl:template>
The above template is called from another xslt... namespace is declared in the xslt being called....
any ideas?