sbailliez    2002/06/29 08:32:06

  Modified:    docs/manual/CoreTasks Tag: ANT_15_BRANCH style.html
  Log:
  Documentation update for <outputproperty> element.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.18.2.5  +41 -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.18.2.4
  retrieving revision 1.18.2.5
  diff -u -r1.18.2.4 -r1.18.2.5
  --- style.html        21 Jun 2002 07:09:33 -0000      1.18.2.4
  +++ style.html        29 Jun 2002 15:32:06 -0000      1.18.2.5
  @@ -89,15 +89,16 @@
       <td valign="top">processor</td>
   
       <td valign="top">name of the XSLT processor to use.  Permissible values 
are
  -      &quot;trax&quot; for a TraX compliant processor,
  +      &quot;trax&quot; for a TraX compliant processor (ie JAXP interface
  +      implementation such as Xalan 2 or Saxon),
         &quot;xslp&quot; for the XSL:P processor, &quot;xalan&quot; for
         the Apache XML Xalan (version 1) processor the name of an
         arbitrary XSLTLiaison class. Defaults to trax, followed by xalan
         and then xslp (in that order). The first one found in your class
         path is the one that is used.
   
  -      <em><strong>DEPRECATED</strong> - XSL:P is deprecated and will
  -      be removed in the next version. Use trax or xalan instead.</em>.
  +      <em><strong>DEPRECATED</strong> - XSL:P and xalan are deprecated and no
  +      more supported.</em>.
         </td>
       <td align="center" valign="top">No</td>
     </tr>
  @@ -144,13 +145,6 @@
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
  -    <td valign="top">outputtype</td>
  -    <td valign="top">specifies the output method to be used.  Only "xml" is
  -      guaranteed to be supported by all translators.  Xalan2 supports "xml",
  -      "html", and "text"</td>
  -    <td valign="top" align="center">No</td>
  -  </tr>
  -  <tr>
       <td valign="top">scanincludeddirectories</td>
       <td valign="top">If any directories are matched by the
         includes/excludes patterns, try to transform all files in these
  @@ -163,9 +157,11 @@
   <p>The classpath to load the processor from can be specified via a
   nested <code>&lt;classpath&gt;</code>, as well - that is, a 
   <a href="../using.html#path">path</a>-like structure.</p>
  +
   <h4>xmlcatalog</h4>
   <p>The <a href="../CoreTypes/xmlcatalog.html">xmlcatalog</a> 
   element is used to perform Entity and URI resolution.</p>
  +
   <h4>param</h4>
   <p>Param is used to pass a parameter to the XSL stylesheet.</p>
   <h4>Parameters</h4>
  @@ -187,6 +183,30 @@
       <td align="center" valign="top">Yes</td>
     </tr>
   </table>
  +
  +<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>.
  +<h4>Parameters</h4>
  +<table width="60%" border="1" cellpadding="2" cellspacing="0">
  +  <tr> 
  +    <td valign="top"><b>Attribute</b></td>
  +    <td valign="top"><b>Description</b></td>
  +    <td align="center" valign="top"><b>Required</b></td>
  +  </tr>
  +  <tr> 
  +    <td valign="top">name</td>
  +    <td valign="top">Name of the property</td>
  +    <td align="center" valign="top">Yes</td>
  +  </tr>
  +  <tr> 
  +    <td valign="top">value</td>
  +    <td valign="top">value of the property.</td>
  +    <td align="center" valign="top">Yes</td>
  +  </tr>
  +</table>
  +
   <h3>Examples</h3>
   <blockquote>
     <pre>
  @@ -216,6 +236,17 @@
     element &lt;xsl:param name=&quot;date&quot;/&gt;, the variable
     <code>$date</code> will subsequently have the value 07-01-2000.
     </p>
  +  
  +  <h4>Using output properties</h4>
  +<pre>&lt;xslt in=&quot;doc.xml&quot; out=&quot;build/doc/output.xml&quot;
  +      style=&quot;style/apache.xsl&quot;&gt;
  +  &lt;outputproperty name=&quot;method&quot; value=&quot;xml&quot;&quot;/&gt;
  +  &lt;outputproperty name=&quot;standalone&quot; 
value=&quot;yes&quot;&quot;/&gt;
  +  &lt;outputproperty name=&quot;encoding&quot; 
value=&quot;iso8859_1&quot;&quot;/&gt;
  +  &lt;outputproperty name=&quot;indent&quot; value=&quot;yes&quot;/&gt;  
  +&lt;/xslt&gt;</pre>
  +
  +  
    </blockquote>
   <hr>
   <p align="center">Copyright &copy; 2000-2002 Apache Software Foundation. All 
rights
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to