ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks style.html
Date Sun, 25 Nov 2001 16:32:51 GMT
sbailliez    01/11/25 08:32:51

  Modified:    docs/manual/CoreTasks style.html
  Log:
  Fix grammatical errors or incorrect documentation.
  
  PR: 4993
  Submitted by: jeff@socialchange.net.au (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 &quot;html&quot;.</td>
  +      specified, the default is &quot;.html&quot;.</td>
       <td align="center" valign="top">No</td>
     </tr>
     <tr>
  @@ -171,15 +171,18 @@
   <blockquote>
     <pre>
   &lt;style basedir=&quot;doc&quot; destdir=&quot;build/doc&quot;
  -       extension=&quot;html&quot; style=&quot;style/apache.xsl&quot;/&gt;</pre>
  +       extension=&quot;.html&quot; style=&quot;style/apache.xsl&quot;/&gt;</pre>
     <h4>Using XSL parameters</h4>
     <pre>&lt;style basedir=&quot;doc&quot; destdir=&quot;build/doc&quot;
  -		extension=&quot;html&quot; style=&quot;style/apache.xsl&quot;&gt;
  -	&lt;param name=&quot;date&quot; expression=&quot;'07-01-2000'&quot;/&gt;
  -&lt;/style&gt;</pre>
  -  <p>This will replace an xsl:param definition&lt;xsl:param name=&quot;date&quot;&gt;&lt;/xsl:param&gt;

  -    with the text value 07-01-2000 </p>
  -  </blockquote>
  +		extension=&quot;.html&quot; style=&quot;style/apache.xsl&quot;&gt;
  +	&lt;param name=&quot;date&quot; expression=&quot;07-01-2000&quot;/&gt;
  +  &lt;/style&gt;</pre>
  +
  +  <p>Then if you declare a global parameter &quot;date&quot; with the top-level
  +  element &lt;xsl:param name=&quot;date&quot;/&gt;, the variable
  +  <code>$date</code> will subsequently have the value 07-01-2000.
  +  </p>
  + </blockquote>
   <hr>
   <p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All
rights
   Reserved.</p>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message