diff --git a/docs/manual/CoreTasks/style.html b/docs/manual/CoreTasks/style.html index 967827e37..b95d0ac5f 100644 --- a/docs/manual/CoreTasks/style.html +++ b/docs/manual/CoreTasks/style.html @@ -11,10 +11,10 @@

Description

Process a set of documents via XSLT.

This is useful for building views of XML based documentation, -or in generating code.

+or for generating code.

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.

extension desired file extension to be used for the targets. If not - specified, the default is "html". + specified, the default is ".html". No @@ -171,15 +171,18 @@ nested <classpath>, as well - that is, a
 <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

-
+ extension=".html" style="style/apache.xsl"> + <param name="date" expression="07-01-2000"/> + </style> + +

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.