You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2006/04/21 02:28:37 UTC

svn commit: r395742 - /ant/core/trunk/docs/manual/CoreTasks/style.html

Author: antoine
Date: Thu Apr 20 17:28:35 2006
New Revision: 395742

URL: http://svn.apache.org/viewcvs?rev=395742&view=rev
Log:
2006 and try to adapt indentation to level of nesting of the elements described

Modified:
    ant/core/trunk/docs/manual/CoreTasks/style.html

Modified: ant/core/trunk/docs/manual/CoreTasks/style.html
URL: http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTasks/style.html?rev=395742&r1=395741&r2=395742&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/style.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/style.html Thu Apr 20 17:28:35 2006
@@ -217,6 +217,7 @@
 
 <h4>param</h4>
 <p>Param is used to pass a parameter to the XSL stylesheet.</p>
+<blockquote>
 <h4>Parameters</h4>
 <table width="60%" border="1" cellpadding="2" cellspacing="0">
   <tr>
@@ -247,11 +248,13 @@
   </tr>
 
 </table>
+</blockquote>
 
 <h4>outputproperty ('trax' processors only)</h4>
 <p>Used to specify how you wish the result tree to be output
 as specified in the <a href="http://www.w3.org/TR/xslt#output">
 XSLT specifications</a>.
+<blockquote>
 <h4>Parameters</h4>
 <table width="60%" border="1" cellpadding="2" cellspacing="0">
   <tr>
@@ -270,9 +273,11 @@
     <td align="center" valign="top">Yes</td>
   </tr>
 </table>
+</blockquote>
 
 <h4>factory ('trax' processors only)</h4>
 Used to specify factory settings.
+<blockquote>
 <h4>Parameters</h4>
 <table width="60%" border="1" cellpadding="2" cellspacing="0">
   <tr>
@@ -291,7 +296,7 @@
     <td align="center" valign="top">No. Defaults to the JAXP lookup mechanism.</td>
   </tr>
 </table>
-<blockquote>
+<h3>Parameters specified as nested elements</h3>
 <h4>attribute </h4>
 <p>Used to specify settings of the processor factory.
 The attribute names and values are entirely processor specific
@@ -312,6 +317,7 @@
 <li>http://saxon.sf.net/feature/linenumbering (integer)</li>
 <li>...</li>
 </ul>
+<blockquote>    
 <h4>Parameters</h4>
 <table width="60%" border="1" cellpadding="2" cellspacing="0">
   <tr>
@@ -331,7 +337,7 @@
   </tr>
 </table>
 </blockquote>
-
+</blockquote>
 <h4>mapper</h4>
 
 <p><em>since Ant 1.6.2</em></p>
@@ -401,9 +407,9 @@
       style=&quot;style/apache.xsl&quot;&gt;
   &lt;mapper type=&quot;glob&quot; from=&quot;*.xml.en&quot; to=&quot;*.html.en&quot;/&gt;
 &lt;/xslt&gt;</pre>
-
+</blockquote>
 <hr>
-<p align="center">Copyright &copy; 2000-2005 The Apache Software Foundation. All rights
+<p align="center">Copyright &copy; 2000-2006 The Apache Software Foundation. All rights
 Reserved.</p>
 
 </body>



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


Re: svn commit: r395742 - /ant/core/trunk/docs/manual/CoreTasks/style.html

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hi,

I did a few indentation changes, because I realized that it was not at
all clear that the attributes described below "Factory" are nested
elements of the factory, which itself is a nested element of the xslt task.

The xslt task describes actually several types : factory, attribute,
outputproperty, param. I wonder whether for clarity they should not be
moved each to its own html file, for instance under Concept and Types.

In my previous change, I rewrote the documentation for the style
attribute of the xslt task itself. From the way it was written
previously, I thought that the style attribute was deprecated.
What was meant was only that the resolution of stylesheet relative to an
attribute basedir of the task is deprecated.

I never understood that before, but I saw nowhere an alternative to the
style attribute. I thought that the documentation meant that there is a
nested element which can replace the style attribute, which is not the case.

Regards,

Antoine


antoine@apache.org wrote:
>     ant/core/trunk/docs/manual/CoreTasks/style.html
>
>   


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