sbailliez 01/11/25 08:32:51
Modified: docs/manual/CoreTasks style.html
Log:
Fix grammatical errors or incorrect documentation.
PR: 4993
Submitted by: [EMAIL PROTECTED] (Jeff Turner)
Revision Changes Path
1.12 +13 -10 jakarta-ant/docs/manual/CoreTasks/style.html
Index: style.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/style.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- style.html 2001/10/30 10:05:34 1.11
+++ style.html 2001/11/25 16:32:51 1.12
@@ -11,10 +11,10 @@
<h3>Description</h3>
<p>Process a set of documents via XSLT.</p>
<p>This is useful for building views of XML based documentation,
-or in generating code.</p>
+or for generating code.</p>
<p><b>Note:</b> This task depends on external libraries not included in the
Ant distribution.
See <a href="../install.html#librarydependencies">Library Dependencies</a>
for more information.</p>
-<p>It is possible to refine the set of files that are being copied. This can
be
+<p>It is possible to refine the set of files that are being processed. This
can be
done with the <i>includes</i>, <i>includesfile</i>, <i>excludes</i>,
<i>excludesfile</i> and <i>defaultexcludes</i>
attributes. With the <i>includes</i> or <i>includesfile</i> attribute you
specify the files you want to
have included by using patterns. The <i>exclude</i> or <i>excludesfile</i>
attribute is used to specify
@@ -52,7 +52,7 @@
<tr>
<td valign="top">extension</td>
<td valign="top">desired file extension to be used for the targets. If
not
- specified, the default is "html".</td>
+ specified, the default is ".html".</td>
<td align="center" valign="top">No</td>
</tr>
<tr>
@@ -171,15 +171,18 @@
<blockquote>
<pre>
<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>
<pre><style basedir="doc" destdir="build/doc"
- extension="html"
style="style/apache.xsl">
- <param name="date" expression="'07-01-2000'"/>
-</style></pre>
- <p>This will replace an xsl:param definition<xsl:param
name="date"></xsl:param>
- with the text value 07-01-2000 </p>
- </blockquote>
+ extension=".html"
style="style/apache.xsl">
+ <param name="date" expression="07-01-2000"/>
+ </style></pre>
+
+ <p>Then if you declare a global parameter "date" with the
top-level
+ element <xsl:param name="date"/>, the variable
+ <code>$date</code> will subsequently have the value 07-01-2000.
+ </p>
+ </blockquote>
<hr>
<p align="center">Copyright © 2000,2001 Apache Software Foundation. All
rights
Reserved.</p>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>