diff options
Diffstat (limited to 'info/examples/lwc/ch7/writefile.xsl')
-rw-r--r-- | info/examples/lwc/ch7/writefile.xsl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/info/examples/lwc/ch7/writefile.xsl b/info/examples/lwc/ch7/writefile.xsl new file mode 100644 index 0000000000..bdf60c8e00 --- /dev/null +++ b/info/examples/lwc/ch7/writefile.xsl @@ -0,0 +1,8 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" default-space="strip"> + <xsl:template match="file"> + <xsl:invoke classid="java:com.jclark.xsl.sax.TextFileOutputFilter"> + <xsl:arg name="file" value="{@filename}"/> + <xsl:apply-templates/> + </xsl:invoke> + </xsl:template> +</xsl:stylesheet> |