Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 64715 invoked from network); 25 Nov 2001 16:49:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 25 Nov 2001 16:49:09 -0000 Received: (qmail 7889 invoked by uid 97); 25 Nov 2001 16:49:08 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 7873 invoked by uid 97); 25 Nov 2001 16:49:07 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 7862 invoked by uid 97); 25 Nov 2001 16:49:07 -0000 Date: 25 Nov 2001 16:32:51 -0000 Message-ID: <20011125163251.57456.qmail@icarus.apache.org> From: sbailliez@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/docs/manual/CoreTasks style.html X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 @@

Description

Process a set of documents via XSLT.

This is useful for building views of XML based documentation, -or in generating code.

+or for generating code.

Note: This task depends on external libraries not included in the Ant distribution. See Library Dependencies for more information.

-

It is possible to refine the set of files that are being copied. This can be +

It is possible to refine the set of files that are being processed. This can be done with the includes, includesfile, excludes, excludesfile and defaultexcludes attributes. With the includes or includesfile attribute you specify the files you want to have included by using patterns. The exclude or excludesfile attribute is used to specify @@ -52,7 +52,7 @@ extension desired file extension to be used for the targets. If not - specified, the default is "html". + specified, the default is ".html". No @@ -171,15 +171,18 @@

   <style basedir="doc" destdir="build/doc"
  -       extension="html" style="style/apache.xsl"/>
+ extension=".html" style="style/apache.xsl"/>

Using XSL parameters

<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

-
+ extension=".html" style="style/apache.xsl"> + <param name="date" expression="07-01-2000"/> + </style> + +

Then if you declare a global parameter "date" with the top-level + element <xsl:param name="date"/>, the variable + $date will subsequently have the value 07-01-2000. +

+

Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.

-- To unsubscribe, e-mail: For additional commands, e-mail: