source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/src/etc/testcases/taskdefs/optional/xalan-redirect-in.xsl@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 772 bytes
Line 
1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
2 xmlns:lxslt="http://xml.apache.org/xslt"
3 xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
4 extension-element-prefixes="redirect">
5<!--
6This is a test to ensure that systemid is set correctly
7for a xsl...the behavior might be dependent on Xalan1
8and Xalan2...this will be a problem to erase the files :(
9Can take as a systemid the base for the xsl document or
10the base or the JVM working dir just like: new File("xalan-redirect-out.tmp")
11-->
12<xsl:param name="xalan-version" select="'x'"/>
13
14<xsl:template match="/">
15<redirect:write file="./xalan{$xalan-version}-redirect-out.tmp">
16 <test>This should be written to the file</test>
17</redirect:write>
18</xsl:template>
19
20</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.