git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272416 13f79535-47bb-0310-9956-ffa450edef68master
@@ -296,6 +296,9 @@ Other changes: | |||||
* <replace> supports a new replacefilterfile attribute that | * <replace> supports a new replacefilterfile attribute that | ||||
automatically turns all properties of a given file into | automatically turns all properties of a given file into | ||||
replacefilters. | replacefilters. | ||||
* An alias of <xslt> has been added to refer to the <style> task. | |||||
Changes from Ant 1.4 to Ant 1.4.1 | Changes from Ant 1.4 to Ant 1.4.1 | ||||
=========================================== | =========================================== | ||||
@@ -2,12 +2,12 @@ | |||||
<head> | <head> | ||||
<meta http-equiv="Content-Language" content="en-us"> | <meta http-equiv="Content-Language" content="en-us"> | ||||
<title>Style Task</title> | |||||
<title>Xslt/Style Task</title> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<h2><a name="style">Style</a></h2> | |||||
<h2><a name="style">Xslt/Style</a></h2> | |||||
<h3>Description</h3> | <h3>Description</h3> | ||||
<p>Process a set of documents via XSLT.</p> | <p>Process a set of documents via XSLT.</p> | ||||
<p>This is useful for building views of XML based documentation, | <p>This is useful for building views of XML based documentation, | ||||
@@ -29,6 +29,7 @@ inclusion/exclusion of files works, and how to write patterns.</p> | |||||
and <code><patternset></code> elements.</p> | and <code><patternset></code> elements.</p> | ||||
<p>Style supports the use of a <param> element which is used to pass values | <p>Style supports the use of a <param> element which is used to pass values | ||||
to an <xsl:param> declaration.</p> | to an <xsl:param> declaration.</p> | ||||
<p><i><style> and <xslt> refer to the same Ant task and can be used interchangeably.</i></p> | |||||
<p>If you want to use Xalan-J 1 or XSL:P, you also need Ant's optional.jar</p> | <p>If you want to use Xalan-J 1 or XSL:P, you also need Ant's optional.jar</p> | ||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table border="1" cellpadding="2" cellspacing="0"> | <table border="1" cellpadding="2" cellspacing="0"> | ||||
@@ -187,10 +188,10 @@ nested <code><classpath></code>, as well - that is, a | |||||
<style basedir="doc" destdir="build/doc" | <style basedir="doc" destdir="build/doc" | ||||
extension=".html" style="style/apache.xsl"/></pre> | extension=".html" style="style/apache.xsl"/></pre> | ||||
<h4>Using XSL parameters</h4> | <h4>Using XSL parameters</h4> | ||||
<pre><style basedir="doc" destdir="build/doc" | |||||
extension=".html" style="style/apache.xsl"> | |||||
<param name="date" expression="07-01-2000"/> | |||||
</style></pre> | |||||
<pre><xslt basedir="doc" destdir="build/doc" | |||||
extension=".html" style="style/apache.xsl"> | |||||
<param name="date" expression="07-01-2000"/> | |||||
</xslt></pre> | |||||
<p>Then if you declare a global parameter "date" with the top-level | <p>Then if you declare a global parameter "date" with the top-level | ||||
element <xsl:param name="date"/>, the variable | element <xsl:param name="date"/>, the variable | ||||
@@ -70,7 +70,6 @@ | |||||
<a href="CoreTasks/signjar.html">SignJar</a><br> | <a href="CoreTasks/signjar.html">SignJar</a><br> | ||||
<a href="CoreTasks/sleep.html">Sleep</a><br> | <a href="CoreTasks/sleep.html">Sleep</a><br> | ||||
<a href="CoreTasks/sql.html">Sql</a><br> | <a href="CoreTasks/sql.html">Sql</a><br> | ||||
<a href="CoreTasks/style.html">Style</a><br> | |||||
<a href="CoreTasks/tar.html">Tar</a><br> | <a href="CoreTasks/tar.html">Tar</a><br> | ||||
<a href="CoreTasks/taskdef.html">Taskdef</a><br> | <a href="CoreTasks/taskdef.html">Taskdef</a><br> | ||||
<a href="CoreTasks/touch.html">Touch</a><br> | <a href="CoreTasks/touch.html">Touch</a><br> | ||||
@@ -83,6 +82,7 @@ | |||||
<a href="CoreTasks/uptodate.html">Uptodate</a><br> | <a href="CoreTasks/uptodate.html">Uptodate</a><br> | ||||
<a href="CoreTasks/waitfor.html">Waitfor</a><br> | <a href="CoreTasks/waitfor.html">Waitfor</a><br> | ||||
<a href="CoreTasks/war.html">War</a><br> | <a href="CoreTasks/war.html">War</a><br> | ||||
<a href="CoreTasks/style.html">Xslt/Style</a><br> | |||||
<a href="CoreTasks/zip.html">Zip</a><br> | <a href="CoreTasks/zip.html">Zip</a><br> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -798,7 +798,7 @@ documentation.</p> | |||||
</tr> | </tr> | ||||
<tr valign="top"> | <tr valign="top"> | ||||
<td nowrap><a href="CoreTasks/style.html">Style</a></td> | |||||
<td nowrap><a href="CoreTasks/style.html">Xslt/Style</a></td> | |||||
<td><p>Processes a set of documents via XSLT.</p></td> | <td><p>Processes a set of documents via XSLT.</p></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -31,6 +31,7 @@ filter=org.apache.tools.ant.taskdefs.Filter | |||||
fixcrlf=org.apache.tools.ant.taskdefs.FixCRLF | fixcrlf=org.apache.tools.ant.taskdefs.FixCRLF | ||||
patch=org.apache.tools.ant.taskdefs.Patch | patch=org.apache.tools.ant.taskdefs.Patch | ||||
style=org.apache.tools.ant.taskdefs.XSLTProcess | style=org.apache.tools.ant.taskdefs.XSLTProcess | ||||
xslt=org.apache.tools.ant.taskdefs.XSLTProcess | |||||
touch=org.apache.tools.ant.taskdefs.Touch | touch=org.apache.tools.ant.taskdefs.Touch | ||||
signjar=org.apache.tools.ant.taskdefs.SignJar | signjar=org.apache.tools.ant.taskdefs.SignJar | ||||
genkey=org.apache.tools.ant.taskdefs.GenerateKey | genkey=org.apache.tools.ant.taskdefs.GenerateKey | ||||