From 9b3ee480399049636b29976b3d8fa9c0277216d2 Mon Sep 17 00:00:00 2001
From: Stephane Bailliez Process a set of documents via XSLT. This is useful for building views of XML based documentation,
-or in generating code.Description
Note: This task depends on external libraries not included in the Ant distribution. See Library Dependencies for more information.
-It is possible to refine the set of files that are being copied. This can be +
It is possible to refine the set of files that are being processed. This can be done with the includes, includesfile, excludes, excludesfile and defaultexcludes attributes. With the includes or includesfile attribute you specify the files you want to have included by using patterns. The exclude or excludesfile attribute is used to specify @@ -52,7 +52,7 @@ inclusion/exclusion of files works, and how to write patterns.
<classpath>
, as well - that is, a
+ extension=".html" style="style/apache.xsl"> + <param name="date" expression="07-01-2000"/> + </style> + +<style basedir="doc" destdir="build/doc" - extension="html" style="style/apache.xsl"/>+ extension=".html" style="style/apache.xsl"/>Using XSL parameters
<style basedir="doc" destdir="build/doc" - extension="html" style="style/apache.xsl"> - <param name="date" expression="'07-01-2000'"/> -</style>-This will replace an xsl:param definition<xsl:param name="date"></xsl:param> - with the text value 07-01-2000
-
Then if you declare a global parameter "date" with the top-level
+ element <xsl:param name="date"/>, the variable
+ $date
will subsequently have the value 07-01-2000.
+
Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.