|
|
@@ -2,12 +2,12 @@ |
|
|
|
|
|
|
|
<head> |
|
|
|
<meta http-equiv="Content-Language" content="en-us"> |
|
|
|
<title>Style Task</title> |
|
|
|
<title>Xslt/Style Task</title> |
|
|
|
</head> |
|
|
|
|
|
|
|
<body> |
|
|
|
|
|
|
|
<h2><a name="style">Style</a></h2> |
|
|
|
<h2><a name="style">Xslt/Style</a></h2> |
|
|
|
<h3>Description</h3> |
|
|
|
<p>Process a set of documents via XSLT.</p> |
|
|
|
<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> |
|
|
|
<p>Style supports the use of a <param> element which is used to pass values |
|
|
|
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> |
|
|
|
<h3>Parameters</h3> |
|
|
|
<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" |
|
|
|
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> |
|
|
|
<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 |
|
|
|
element <xsl:param name="date"/>, the variable |
|
|
|