Development: xsltdoc
Extended XSLT task to build documentation.
Behaves as the usual Ant XSLT task, except that it
automatically provides a few XSLT parameters.
The following parameters are automatically defined:
- project
- The name of the project.
- timestamp
- Timestamp in form yyyy/MM/dd HH:mm:ss.
- input
- Name of the input file with path relative to build directory.
- output
- Name of the output file with path relative to build directory.
- style
- Name of the stylesheet file with path relative to build directory.
- type
- Optional, value specified as task parameter (see below).
This task supports the following parameters.
Attribute |
Description |
Required |
in |
The input XML file (same as XSLT task parameter). |
Yes. |
out |
The output file (same as XSLT task parameter). |
Yes. |
style |
The stylesheet to use (same as XSLT task parameter). |
Yes. |
type |
Optional parameter to set the XSLT parameter "type".
If not specified the parameter is undefined.
(This is actually the same as a nested <param name="type"
value="..."/>.)
|
No; parameter "type" undefined by default.
|
This task supports the following nested elements.
param
Used to specify an XSLT parameter, behaves the same as the
param element of the Ant XSLT task.
Attribute |
Description |
Required |
name |
Name of the XSLT parameter. |
Yes. |
value |
Value of the parameter to pass to the XSLT process. |
Yes. |
<xsync in="readme.xml" out="readme.txt" style="readme.xslt"/>