Hi,

I heard Gary ask if the XSLTC folks are listening.

Morten just added an extension to XSLTC support the
redirection of output to files.

It is  used like this:

<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:xsltc="http://xml.apache.org/xalan/xsltc";
  xsl:version="1.0">

  <xsl:template match="/">
    <xsl:text>This goes to standard output</xsl:text>
    <xsltc:output file="blob.xml">
      <xsl:text>This ends up in the file 'blob.xml'</xsl:text>
    </xsltc:output>
  </xsl:template>

</xsl:stylesheet>

The 'file' attribute of the <xsltc:output> element is treated as
an attribute value template, so it can contain variable references
and all the usual stuff.

This may be just what B.Verachten needs.

Tom



Reply via email to