Hi, I'm fairly new to Xalan, having just moved to it from Saxon in order to use the translet compiler, and am trying to compile an xsl file that uses output file redirection. The release notes say that redirect:write is not supported in xsltc, but that "Output can be redirected to a file using the <xsltc:output> element".
When I try to compile the trial script below I get the error "Unrecognised XSLTC extension 'xsltc:output' " which I suspect may be because I'm using a wrong namespace declaration. I'd be grateful if anyone can help with this. ------------------------------ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:xsltc="org.apache.xalan.xsltc.compiler.XSLTC" extension-element-prefixes="xsltc"> <xsl:template match="doc"> <xsltc:output file="redirect_test.htm"> <xsl:value-of select="."/> </xsltc:output> </xsl:template> </xsl:stylesheet> ------------------------------ Thanks, Dave Beaumont
