diff --git a/docs/index.html b/docs/index.html index c04ef17f2..0370fade2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4349,11 +4349,12 @@ finally with the defaultexcludes attribute, you can specify whether you want to use default exclusions or not. See the section on directory based tasks, on how the inclusion/exclusion of files works, and how to write patterns.
-This task forms an implicit FileSet and
-supports all attributes of <fileset>
-(dir becomes basedir) as well as the nested
-<include>, <exclude> and
-<patternset> elements.
This task forms an implicit FileSet and supports all
+ attributes of <fileset> (dir becomes basedir)
+ as well as the nested <include>, <exclude>
+ and <patternset> elements.
Style supports the use of a <param> element which is use to pass values + to an <xsl:param> declaration.
| extension | -desired file extension to be used for the targets. - If not specified, the default is "html". | +desired file extension to be used for the targets. If not + specified, the default is "html". | No |
| processor | name of the XSLT processor to use. Permissible values are -"trax" for a TraX compliant processor, "xslp" for the XSL:P -processor, "xalan" for the Apache XML Xalan (version 1) processor, or the name of an arbitrary XSLTLiaison class. -Defaults to trax, followed by xslp then xalan (in that order). The first one -found in your class path is the one that is used. | + "trax" for a TraX compliant processor, "xslp" for the + XSL:P processor, "xalan" for the Apache XML Xalan (version 1) + processor, or the name of an arbitrary XSLTLiaison class. Defaults to trax, + followed by xslp then xalan (in that order). The first one found in your + class path is the one that is used.No | |
| includes | -comma separated list of patterns of files that must be - included. All files are included when omitted. | +comma separated list of patterns of files that must be included. + All files are included when omitted. | No |
| includesfile | -the name of a file. Each line of this file is - taken to be an include pattern | +the name of a file. Each line of this file is taken to be + an include pattern | No |
| excludes | -comma separated list of patterns of files that must be - excluded. No files (except default excludes) are excluded when omitted. | +comma separated list of patterns of files that must be excluded. + No files (except default excludes) are excluded when omitted. | No |
| excludesfile | -the name of a file. Each line of this file is - taken to be an exclude pattern | +the name of a file. Each line of this file is taken to be + an exclude pattern | No |
| No | |||
| in | +specifies a single XML document to be styled. Should be used + with the out attribute. | +No | +|
| out | +specifies the output name for the sytled result from the + in attribute. | +No | +
Param is used to pass a parameter to the XSL stylesheet.
+| Attribute | +Description | +Required | +
| name | +Name of the XSL parameter | +Yes | +
| expression | +XSL expression to be placed into the param. To pass a text + value into the style sheet it needs to be escaped using single quotes. | +Yes | +
-+ extension="html" style="style/apache.xsl"/> +++
<style basedir="doc" destdir="build/doc" - extension="html" style="style/apache.xml"/> --
<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
+