You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by dl...@locus.apache.org on 2000/03/03 16:48:54 UTC

cvs commit: xml-site/targets/xalan xslt4c.html usagepatterns.html samples.html readme.html overview.html getstarted.html extensions.html dtm.html commandline.html

dleslie     00/03/03 07:48:53

  Modified:    targets/xalan xslt4c.html usagepatterns.html samples.html
                        readme.html overview.html getstarted.html
                        extensions.html dtm.html commandline.html
  Log:
  Weekly update
  
  Revision  Changes    Path
  1.10      +11 -5     xml-site/targets/xalan/xslt4c.html
  
  Index: xslt4c.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/xslt4c.html,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- xslt4c.html	2000/02/25 22:37:13	1.9
  +++ xslt4c.html	2000/03/03 15:48:47	1.10
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,13 +39,15 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <IMG alt="Xalan C++" border="0" height="12" hspace="0" src="graphics/xslt4c-label-1.jpg" vspace="0" width="120"><BR> 
       
   <IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
   
     <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Xalan C++</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace
="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -     <P>Like Xalan-Java, Xalan-C++ implements <A href="http://www.w3.org/TR/1999/REC-xslt-19991116" target="_top">W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0</A>. Version 0.19.0 is our first release, 
  +     <P>Like Xalan-Java, Xalan-C++ implements <A href="" target="_top"></A>. Version 0.19.0 is our first release, 
        including a build for Win32. We plan to add a build for Linux in the near future, other builds to follow.</P>
        <P>The build includes 8 DLLs and an executable (TestXSLT.exe, a command-line utility). To use this utility 
        to perform transformations, place these files in a directory with the Xerces dynamic link library, xerces-c_1_0.dll.</P>
  @@ -80,7 +86,7 @@
     </FONT></TD></TR></TABLE><BR>
     <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Xalan-C++ Features</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gi
f" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
   	    <UL> 
  -		    <LI>Implements the <A href="http://www.w3.org/TR/1999/REC-xslt-19991116" target="_top">W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0</A>.</LI> 
  +		    <LI>Implements the <A href="" target="_top"></A>.</LI> 
       	  <LI>Uses the Xerces-C++ XML parser&gt;</LI>
       	  <LI>Can output to SAX or DOM</LI>
   	    </UL> 
  @@ -97,7 +103,7 @@
         <LI>Work on number formatting<BR><BR></LI>
         <LI>Fix up our implementation of XPath node-set objects<BR><BR></LI>
         <LI>Support for Linux builds<BR><BR></LI>
  -      <LI>Verify conformance to <A href="http://www.w3.org/TR/1999/REC-xslt-19991116" target="_top">W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0</A><BR><BR></LI>
  +      <LI>Verify conformance to <A href="" target="_top"></A><BR><BR></LI>
         <LI>Work on stability and performance<BR><BR></LI>
       </UL>
   </FONT></TD></TR></TABLE><BR>    
  
  
  
  1.4       +29 -22    xml-site/targets/xalan/usagepatterns.html
  
  Index: usagepatterns.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/usagepatterns.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- usagepatterns.html	2000/02/25 22:37:13	1.3
  +++ usagepatterns.html	2000/03/03 15:48:47	1.4
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,6 +39,8 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
  @@ -58,21 +64,21 @@
   
     <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Introduction</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vsp
ace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">  
   <P>Xalan takes as primary input an XML source document and an XSL stylesheet, both represented by instances of the <A href="apidocs/org/apache/xalan/xslt/XSLTInputSource.html" target="_top">XSLTInputSource class</A>. You can use a URL or file, a character stream, a byte stream, a DOM tree, or a SAX input source to create an XSLTInputSource object. The stylesheet may also take the form of a compiled stylesheet (an instance of the <A href="apidocs/org/apache/xalan/xslt/StylesheetRoot.html" target="_top">StylesheetRoot class</A>. If the XML document contains a stylesheet Processing Instruction (PI), a separate stylesheet is not required.</P>
  -<P>Xalan uses an implementation of the <A href="apidocs/org/apache/xalan/xpath/xml/XMLParserLiaison.html" target="_top">XMLParserLiaison interface</A> to interact with an XML parser and sends the output to <A href="apidocs/org/apache/xalan/xslt/XSLTResultTarget.html" target="_top">XSLTResultTarget class</A>. Unless your are processing a DOM, you probably want to use the default <A href="dtm.html">Document Table Model (DTM)</A> liaison and XML parser. When you process DOM input, you can use the <A href="apidocs/org/apache/xalan/xpath/xdom/XercesLiaison.html" target="_top">XercesLiaison class</A> along with the Xerces-Java XML parser.</P>
  -<P>The XSLT and XPath engines are independent of any given DOM or XML implementation. All parser-dependent
  +<P>Xalan uses an implementation of the <A href="apidocs/org/apache/xalan/xpath/xml/XMLParserLiaison.html" target="_top">XMLParserLiaison interface</A> to interact with an XML parser and sends the output to <A href="apidocs/org/apache/xalan/xslt/XSLTResultTarget.html" target="_top">XSLTResultTarget class</A>. Unless your are reading or creating a DOM, you probably want to use the default <A href="dtm.html">DTM (Document Table Model)</A> liaison and XML parser. When you read from a DOM or write to a DOM, use the <A href="apidocs/org/apache/xalan/xpath/xdom/XercesLiaison.html" target="_top">XercesLiaison class</A> along with the Xerces-Java XML parser.</P>
  +<P>The XSLT and XPath engines are independent of any given XML parser implementation. All parser-dependent
   calls are funneled through the XMLParserLiaison.</P>
   <P>For detailed API documentation (javadoc), see <A href="apidocs/index.html" target="_top">API Documentation</A>. For an overview of the
   command-line utility, see <A href="commandline.html">Command-Line Utility</A>.</P>     
   </FONT></TD></TR></TABLE><BR>
   <A name="files"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Using a stylesheet file to transform an XML source file into an output file</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG 
border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -<P>Use an XML file and an XSL file to instantiate XSLTInput objects, create a processor with the default DTM liaison, and send the transformation output to an output file. For example:</P>
  +<P>Use an XML file and an XSL file to instantiate XSLTInput objects, create a processor, and write the transformation output to a file. For example:</P>
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>public static void Transform(String xmlSourceURL, String xslURL, String outputURL)
     throws java.io.IOException, 
            java.net.MalformedURLException, 
            org.xml.sax.SAXException
   {
  -  // Use XSLTProcessor to instantiate an XSLTProcessor.
  +  // Use XSLTProcessorFactory to instantiate an XSLTProcessor.
     org.apache.xalan.xslt.XSLTProcessor processor =
                    org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor();
                    
  @@ -87,15 +93,15 @@
     // Perform the transformation.
     processor.process(xmlSource, xslSheet, xmlResult);
    }</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  -<P>For an online example, see <A href="samples.html#simpletransform">SimpleTransform</A>.</P>
  -<P>You can perform this same operation from the <A href="commandline.html">command line</A>. For example:</P>
  +<P>You can perform this same transformation from the <A href="commandline.html">command line</A>. For example:</P>
   <P><CODE><FONT face="courier, monospaced">java org.apache.xalan.xslt.Process -in foo.xml -xsl foo.xsl -out output.xml</FONT></CODE></P>
  +<P>For an online example, see <A href="samples.html#simpletransform">SimpleTransform</A>.</P>
   </FONT></TD></TR></TABLE><BR><A name="streams"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Using data streams in place of files</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="r
esources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
   <P>The context in which you perform a transformation may call for input in the form of a character stream, byte stream, or SAX input stream, and output in the form of a character stream, byte stream, or SAX document handler. Suppose, for example, you want to output a stream of bytes for further processing:</P>
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>import org.apache.xalan.xslt.*;
   ...
  -java.io.OutputStream byteStream = new java.io.OutputStream();
  +java.io.OutputStream byteStream = new java.io.ByteArrayOutputStream();
   XSLTRegultTarget out = new XSLTResultTarget(byteStream)
   // Do the transformation...
   // Work with the OutputStream...</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  @@ -114,23 +120,25 @@
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>import org.apache.xalan.xslt.*;
   ...
   XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
  -StylesheetRoot style = processor.processStylesheet(new XSLTInputSource(&quot;foo.xsl&quot;));
  +StylesheetRoot style = processor.processStylesheet
  +                                       (new XSLTInputSource(&quot;foo.xsl&quot;));
   processor.setStylesheet(style); // Good form!
   ...
   processor.process(new XSLTInputSource(&quot;foo.xml&quot;),
                     null, // Use the Stylesheet property setting.
                     new XSLTOutputTarget(&quot;foo.out&quot;));</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  -<P>Alternative: For convenience, StylesheetRoot has its own process method, so another way to do the preceding is as follows:</P>
  +<P>Alternative: StylesheetRoot has its own process method, so another way to do the preceding is as follows:</P>
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>import org.apache.xalan.xslt.*;
   ..
   XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
   StylesheetRoot style = processor.processStylesheet(new XSLTInputSource(&quot;foo.xsl&quot;));
   ...
   style.process(new XSLTInputSource(&quot;foo.xml&quot;), new XSLTOutputTarget(&quot;foo.out&quot;));</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  +<P>You should use the StylesheetRoot process() method if you are using a StylesheetRoot object to transform multiple XML sources.</P>
   <P>If you want to use the XSLTProcessor as a SAX document handler, you must provide the processor a compiled stylesheet. See <A href="#sax">Generating and Responding to SAX events</A>.</P>
   </FONT></TD></TR></TABLE><BR><A name="dom-in"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Processing DOM input</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gi
f" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -<P>The XML source and XSL stylesheet for a transformation may appear in the form of a DOM Node. To perform transformations with DOM input, you cannot use the default high-performance DTM liaison and parser. <A href="dtm.html">DTM (Document Table Model)</A> uses a table of integers to represent a DOM, thus avoiding much of the overhead of creating and manipulating actual DOM nodes, which often involve a large number of Java objects. If you are processing DOM input, you must use a DOM parser, such as the Xerces DOM parser. When you create the XSLTProcessor for the transformation, you must specify that it is to use the Liaison for such a DOM parser.</P>
  +<P>The XML source and XSL stylesheet for a transformation may appear in the form of a DOM Node. To perform transformations with DOM input, you cannot use the default <A href="dtm.html">DTM (Document Table Model)</A> liaison and parser. If you are processing DOM input, set up the XSLTProcessor to use XercesLiaison and the Xerces XML parser.</P>
   <P>The following code fragments illustrate the procedure for working with DOM input:</P>
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>import org.apache.xerces.parsers.DOMParser;
   import org.w3c.dom.Document;
  @@ -145,18 +153,19 @@
   
   // Set up the XSLTProcessor to use XercesLiaison.
   XSLTProcessor xsltProc = XSLTProcessorFactory.getProcessor
  -                 (new org.apache.xalan.xpath.xdom.XercesLiaison())
  +                 (new org.apache.xalan.xpath.xdom.XercesLiaison());
   // or you can use XSLTProcessorFactory.getProcessorUsingLiaisonName
  -//                (&quot;org.apache.xalan.xpath.xdom.XercesLiaison&quot;)
  +//                (&quot;org.apache.xalan.xpath.xdom.XercesLiaison&quot;);
   ...
   // Perform the transformation.</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
   </FONT></TD></TR></TABLE><BR><A name="dom-out"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Producing DOM output</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gi
f" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -<P>To produce a DOM Node as your transformation output, use a new Node to create the XSLTResultTarget for the transformation. Then when you perform the transformation, the result is output as a DOM Node. For example:</P>
  +<P>To produce a DOM Node as your transformation output, use a new Node to create the XSLTResultTarget for the transformation. Then when you perform the transformation, the result is output as a DOM Node. As with DOM input, you must set up the XSLTProcessor to use the Xerces liaison and XML parser. For example:</P>
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>import org.w3.dom.Document;
   import org.apache.xalan.xslt.*;
   ...
  -XSLTProcessor xsltProc = XSLTProcessorFactory.getProcessor();
  +XSLTProcessor xsltProc = XSLTProcessorFactory.getProcessor
  +                 (new org.apache.xalan.xpath.xdom.XercesLiaison());
   org.w3c.dom.Document out = new org.apache.xerces.dom.DocumentImpl();
   XSLTResultTarget resultTarget = new XSLTResultTarget(out);
   processor.process(new XSLTInputSource(&quot;foo.xml&quot;),
  @@ -200,7 +209,7 @@
       processor.process(new XSLTInputSource(&quot;foo.xml&quot;), null, saxResult);
   	}
   }</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  -<P>XSLTProcessor also has a DocumentHandler property (in fact, XSLTProcessor extends DocumentHandler). By setting this property, you instruct the processor to process a sequence of SAX events. The processor needs a compiled stylesheet to perform this transformation.</P>
  +<P>XSLTProcessor also has a DocumentHandler property. By setting this property, you instruct the processor to process a sequence of SAX events. The processor needs a compiled stylesheet to perform this transformation.</P>
   <P>The following example uses the output of one transformation as the input for a second transformation. It does this by using two SAX DocumentHandlers to pipe SAX events from the first transformation to the second.</P>
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>import org.apache.xalan.xslt.*;
   
  @@ -250,8 +259,8 @@
   <LI>Include <A href="apidocs/org/apache/xalan/xslt/client/XSLTProcessorApplet.html" target="_top">XSLTProcessorApplet class</A> in an HTML client.<BR><BR></LI>
   <LI>Specify the XML source document and XSL stylesheet.<BR><BR>
   You can use the DocumentURL and StyleURL PARAM tags or the <A href="apidocs/org/apache/xalan/xslt/client/XSLTProcessorApplet.html#setDocumentURL(java.lang.String)" target="_top">XSLTProcessorApplet setDocumentURL() method</A> and <A href="apidocs/org/apache/xalan/xslt/client/XSLTProcessorApplet.html#setStyleURL(java.lang.String)" target="_top">XSLTProcessorApplet setStyleURL() method</A>. If the XML document contains a stylesheet Processing Instruction (PI), you do not need to specify an XSL stylesheet.<BR><BR></LI>
  -<LI>Call the <A href="apidocs/org/apache/xalan/xslt/client/XSLTProcessorApplet.html#transformToHtml(java.lang.String, java.lang.String)" target="_top">XSLTProcessorApplet transformHTML() method</A> which performs the transformation and returns the new document as a String.</LI></OL>
  -<P>For an example, see the <A href="samples/applet/readme.html">sample applet readme</A>.</P>
  +<LI>Call the <A href="apidocs/org/apache/xalan/xslt/client/XSLTProcessorApplet.html#transformToHtml(java.lang.String, java.lang.String)" target="_top">XSLTProcessorApplet transformToHTML() method</A> which performs the transformation and returns the new document as a String.</LI></OL>
  +<P>For an example, see the <A href="../samples/appletXMLtoHTML/readme.html">sample applet readme</A>.</P>
   </FONT></TD></TR></TABLE><BR><A name="servlet"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Using Xalan in a servlet</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/voi
d.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
   <P>You can set up a servlet to use Xalan to respond to requests for XML documents by transforming those documents into HTML and serving them to clients. For a sample of how this might be done, see <A href="samples.html#servlet">sample servlet</A>.</P>
  @@ -267,9 +276,7 @@
   		  can implement. The interface can be set on the 
   		  <A href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html" target="_top">XSLTProcessor interface</A> by calling the addTraceListener function.<BR><BR></LI>
   		  <LI>The <A href="apidocs/org/apache/xalan/xslt/trace/PrintTraceListener.html" target="_top">PrintTraceListener class</A> is an implementation of 
  -		  the TraceListener interface that is used by the <A href="commandline.html">command-line utility</A>
  -      for the -TT, TG, and -TTC. You can examine the utility code (org.apache.xalan.xslt.Process.java)
  -      for examples of how you might use the trace functionality.<BR><BR></LI>
  +		  the TraceListener interface. It is used by the <A href="commandline.html">command-line utility</A><BR><BR></LI>
   		  <LI>The <A href="apidocs/org/apache/xalan/xslt/trace/TracerEvent.html" target="_top">TracerEvent class</A> is an event that is 
   		  passed to the TraceListener.trace function. It is called before a node is 'executed' 
   		  in the stylesheet.<BR><BR></LI>
  
  
  
  1.3       +18 -10    xml-site/targets/xalan/samples.html
  
  Index: samples.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/samples.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- samples.html	2000/02/25 22:37:12	1.2
  +++ samples.html	2000/03/03 15:48:47	1.3
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <IMG alt="Sample Apps" border="0" height="12" hspace="0" src="graphics/samples-label-1.jpg" vspace="0" width="120"><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,6 +39,8 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
  @@ -46,7 +52,7 @@
   <LI><A href="#xpath">ApplyXPath</A></LI>
   <LI><A href="#pipe">Pipe (SAX)</A></LI>
   <LI><A href="#extensions">Extensions</A></LI>
  -<LI><A href="#AppletXMLtoHTML">Applet</A></LI>
  +<LI><A href="#appletxmltohtml">AppletXMLtoHTML</A></LI>
   <LI><A href="#servlet">Servlet</A></LI>
   </UL>       
   	  <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Samples to help you get started</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="res
ources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  @@ -82,7 +88,8 @@
       <P>What it does: The TransformToDom class uses the foo.xsl stylesheet to transform foo.xml, produces an output
        DOM, and traverses the DOM, printing the traversal to System.out. In contrast to SimpleTransform,
         TransformToDom illustrates the procedure for creating an output DOM that is available for further
  -      processing.</P>
  +      processing. The XSLTProcessor is set up to use XercesLiaison and the Xerces DOM parser rather than the default DTM liaison
  +      and parser.</P>
      <P>You can run it from the TransformToDom subdirectory with</P>
       <P><CODE><FONT face="courier, monospaced">java TransformToDom</FONT></CODE></P>
       </FONT></TD></TR></TABLE><BR><A name="usestylesheetparam"><!--anchor--></A>
  @@ -124,8 +131,8 @@
        extensions implemented in JavaScript, and two of the samples use extensions implemented in Java. All of
        the samples are documented in <A href="extensions.html">Extensions</A>.</P>
        <P>To run these examples, you must place bsf.jar and bsfengines.jar (distributed with Xalan), and js.jar
  -     (available from <A href="http://www.mozilla.org/rhino">http://www.mozilla.org/rhino</A>) on the class path. You do not need js.jar
  -     on the class path for the samples that use Java extensions. </P>
  +     (available from <A href="http://www.mozilla.org/rhino">http://www.mozilla.org/rhino</A>) on the class path. 
  +     You do not need js.jar  on the class path for the samples that use Java extensions. </P>
        <P>Use java.org.apache.xalan.xslt.Process, the Xalan command-line utility, to run these samples from
         the <A href="commandline.html">command line</A>. The command line must include an -in flag with the 
         XML source and an -xsl flag with the XSL stylesheet. If you want the output to be printed to a file, rather
  @@ -141,11 +148,11 @@
           <BR>&nbsp;&nbsp;<CODE><FONT face="courier, monospaced">-xsl 3numlistJava.xsl</FONT></CODE></P>
         <P><CODE><FONT face="courier, monospaced"> java org.apache.xslt.xalan.Process -in 4numlistJcript.xml </FONT></CODE>
           <BR>&nbsp;&nbsp;<CODE><FONT face="courier, monospaced">-xsl 4numlistJscript.xsl</FONT></CODE></P>
  -    </FONT></TD></TR></TABLE><BR><A name="applet"><!--anchor--></A>
  +    </FONT></TD></TR></TABLE><BR><A name="appletxmltohtml"><!--anchor--></A>
       <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>AppletXMLtoHTML</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif
" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
       <P>The applet uses a stylesheet to transform an XML document into HTML. It displays the XML document, the
        stylesheet, and the HTML output.</P>
  -    <P>How to run it: See <A href="samples/applet/readme.html">sample applet readme</A>.</P>
  +    <P>How to run it: See <A href="..\samples/appletXMLtoHTML/readme.html">sample applet readme</A>.</P>
       <P>For a brief introduction to using applets to perform transformations, see <A href="getstarted.html#applet">Using the Xalan applet wrapper</A></P>  
       </FONT></TD></TR></TABLE><BR><A name="servlet"><!--anchor--></A>
       <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Servlet</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace
="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  @@ -161,9 +168,10 @@
       <P>Examples:</P>
   <DL>
   <DT>http://localhost/servlet/DefaultApplyXSL?URL=/data.xml&amp;xslURL=/style.xsl</DT>
  -<DD>...applies the style.xsl stylesheet to the data.xml data.  Both files are
  +<DD>...applies the style.xsl stylesheet to the data.xml data. Both files are
   served from the Web server's HTTP XSLTInputSource root.<BR><BR></DD>
  -<DT>http://localhost/servlet/DefaultApplyXSL?URL=/data.xml&amp;xslURL=/style.xsl&amp;debug=true</DT>
  +<DT>http://localhost/servlet/DefaultApplyXSL?URL=/data.xml&amp;xslURL=
  +/style.xsl&amp;debug=true</DT>
   <DD>...ensures that XML and XSL processor messages are returned in the event of problems
   applying style.xsl to data.xml<BR><BR></DD>
   <DT>http://localhost/servlet/DefaultApplyXSL/data.xml?xslURL=/style.xsl</DT>
  
  
  
  1.11      +8 -2      xml-site/targets/xalan/readme.html
  
  Index: readme.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/readme.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- readme.html	2000/02/25 22:37:11	1.10
  +++ readme.html	2000/03/03 15:48:48	1.11
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,6 +39,8 @@
    <IMG alt="Release Notes" border="0" height="12" hspace="0" src="graphics/readme-label-1.jpg" vspace="0" width="120"><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
  
  
  
  1.15      +29 -21    xml-site/targets/xalan/overview.html
  
  Index: overview.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/overview.html,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- overview.html	2000/02/25 22:37:11	1.14
  +++ overview.html	2000/03/03 15:48:48	1.15
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,6 +39,8 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
  @@ -47,18 +53,18 @@
   <LI><A href="#glossary">Glossary</A></LI>
   </UL><A name="intro"><!--anchor--></A>
     <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Introduction</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vsp
ace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -    <P>Xalan (named after a rare musical instrument) fully implements the <A href="http://www.w3.org/TR/1999/REC-xslt-19991116" target="_top">W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0</A>. 
  +    <P>Xalan (named after a rare musical instrument) fully implements the <A href="http://www.w3.org/TR/xslt" target="_top">W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0</A>. 
       XSLT is the first part of the XSL stylesheet language for XML. It includes the XSL Transformation vocabulary and the
  -    XML Path language (XPath), a language for addressing parts of XML documents. For links to background materials, 
  +    <A href="http://www.w3.org/TR/xpath" target="_top">XML Path Language (XPath) Version 1.0</A>, a language for addressing parts of XML documents. For links to background materials, 
       discussion groups, frequently asked questions, and tutorials on XSLT, see <A href="#uptospeed">Getting up
       to speed with XSLT</A>.</P> 
  -    <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>XSL also includes a formatting vocabulary, which is still under design and is not part of Xalan. 
  +    <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>XSL also includes a vocabulary for formatting documents, which is still under design and is not part of Xalan. 
       For more information, see <A href="http://www.w3.org/TR/xsl/">W3C XSL Working Draft</A> and the <A href="http://xml.apache.org/fop">Apache XML FOP (Formatting Objects Project)</A>.</I></FONT></TD></TR></TABLE>
  -    <P>You use the XSLT language to compose XSL stylesheets. Itself an XML document, an XSL stylesheet contains instructions for
  -     transforming a range of XML documents into other XML documents, HTML documents, or other document types. In structural
  -     terms, an XSLT stylesheet specifies the transformation of one tree of nodes (the XML input) into another tree of nodes 
  +    <P>You use the XSLT language to compose XSL stylesheets. An XSL stylesheet contains instructions for
  +     transforming XML documents from one document type into another document type (XML, HTML, or other). In structural
  +     terms, an XSL stylesheet specifies the transformation of one tree of nodes (the XML input) into another tree of nodes 
        (the output or transformation result).</P>
  -    <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>The XSLT stylesheet may include cascading style sheets (CSS) in the result.</I></FONT></TD></TR></TABLE> 
  +    <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>The XSL stylesheet may include cascading style sheets (CSS) in the result.</I></FONT></TD></TR></TABLE> 
       <P>In the following example, the foo.xsl stylesheet is used to transform foo.xml into foo.out:</P>
       <P>foo.xml:</P>
           <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>&lt;?xml version=&quot;1.0&quot;?&gt;
  @@ -72,16 +78,17 @@
   &lt;/xsl:stylesheet&gt;</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
   <P>foo.out:</P>
   <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>&lt;out&gt;Hello&lt;/out&gt;</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="46
2"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  -<P>By default, Xalan uses a high-performance <A href="dtm.html">Document Table Model (DTM)</A> to parse the input -- XML documents and XSL stylesheets, but it can be set to use the Xerces-Java XML parser, and it can be adapted to work with other DOM-producing mechanisms and SAX document handlers. The input may appear in the form of a file, a character stream, a byte stream, a DOM, or a SAX input stream.</P>
  +<P>By default, Xalan uses a high-performance <A href="dtm.html">Document Table Model (DTM)</A> to parse XML documents and XSL stylesheets. It can be set to use the Xerces-Java XML parser, and it can be adapted to work with other DOM-producing mechanisms and SAX document handlers. The input may appear in the form of a file, a character stream, a byte stream, a DOM, or a SAX input stream.</P>
   <P>Xalan performs the transformations specified in the XSL stylesheet and produces a document file, a character
  - stream, a byte stream, a <A href="http://www.w3.org/TR/PR-DOM-Level-1" target="_top">DOM</A>, or a series of <A href="http://www.megginson.com/SAX/sax.html" target="_top">SAX</A> events, as you specify when you set up the transformation.</P>
  + stream, a byte stream, a <A href="http://www.w3.org/DOM" target="_top">DOM</A>, or a series of <A href="http://www.megginson.com/SAX/sax.html" target="_top">SAX</A> events, as you specify when you set up the transformation.</P>
         </FONT></TD></TR></TABLE><BR><A name="features"><!--anchor--></A>
      	  <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Xalan Features</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gi
f" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
   	    <UL> 
  -		    <LI>Implements the <A href="http://www.w3.org/TR/1999/REC-xslt-19991116" target="_top">W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0</A></LI> 
  -        <LI>Incorporates the <A href="" target="_top"></A></LI>
  -    	  <LI>Uses <A href="http://xml.apache.org/xerces-j/index.html">Xerces-Java</A> 
  -        (and <A href="http://www.alphaworks.ibm.com/tech/xml4j">the alphaWorks XML Parser for Java</A>)</LI>
  +		    <LI>Implements the <A href="http://www.w3.org/TR/xslt" target="_top">W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0</A></LI> 
  +        <LI>Incorporates the <A href="http://www.w3.org/TR/xpath" target="_top">XML Path Language (XPath) Version 1.0</A></LI>
  +        <LI>Optionally uses the high-performance DTM (Document Table Model) to avoid the object overhead involved in the
  +         construction and manipulation of DOM trees</LI>
  +    	  <LI>Interfaces directly to the <A href="http://xml.apache.org/xerces-j/index.html">Xerces-Java XML parser</A></LI>
       	  <LI>Can interface to a SAX document handler or to any XML parser that produces Java DOM Trees</LI>
       	  <LI>Can output to SAX or DOM</LI>
           <LI>May be run from the <A href="commandline.html">command line</A></LI>
  @@ -89,7 +96,7 @@
           <LI>May be used in a <A href="samples.html#servlet">servlet</A> to transform XML documents into HTML
            and serve the results to clients</LI>
           <LI>Supports <A href="extensions.html">Java and scripting language extensions</A></LI>
  -        <LI>Provides <A href="extensions.html#redirect">an extension to support the production of multiple 
  +        <LI>Provides <A href="extensions.html#redirect">a redirect extension to support the production of multiple 
           output documents in a single operation</A></LI>
   	    </UL> 
   	  </FONT></TD></TR></TABLE><BR><A name="towork"><!--anchor--></A>
  @@ -99,8 +106,8 @@
       </FONT></TD></TR></TABLE><BR><A name="uptospeed"><!--anchor--></A>
       
       <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Getting up to speed with XSLT</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="reso
urces/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -    <P>If you are still working through the details of the XSLT spec (the W3C 1.0 Recommendation), you may want to
  -     consult one or more of the following:</P>
  +    <P>If you are still working through the details of the XSLT spec (the W3C 1.0 Recommendation), you may want 
  +    to consult one or more of the following:</P>
       <UL>
       <LI>Elliotte Rusty Harold's <A href="http://metalab.unc.edu/xml/books/bible/updates/14.html">Chapter 14 of 
       the XML Bible: XSL Transformations</A><BR><BR></LI>
  @@ -111,13 +118,14 @@
       <LI>Dave Pawson's <A href="http://freespace.virgin.net/b.pawson/xsl/index.html#top">XSL Frequently Asked
        Questions</A><BR><BR></LI>
       <LI>Objects by Design's <A href="http://www.objectsbydesign.com/projects/xmi_to_html.html">Transforming XMI to
  -     HTML</A><BR><BR></LI>
  +     HTML</A> (oriented towards XMI, &quot;an XML-based, stream representation of a UML model,&quot; but also covers &quot;generic&quot;
  +     XML transformations)<BR><BR></LI>
        <LI>Nic Miloslav's <A href="http://zvon.vscht.cz/HTMLonly/XSLTutorial/Books/Book1/index.html">XSL Tutorial</A>
        <BR><BR></LI>
        <LI>OASIS (the Organization for the Advancement of Structured Information Standards): 
        <A href="http://www.oasis-open.org/cover/xsl.html">Extensible Stylesheet Language (XSL)</A> by Robin
        Cover</LI>
  -     <LI>Donald Ball's <A href="http://www.webslingerZ.com/balld/xsl/designer_manual.xml">A Guide to XML and XSL for Designers</A></LI>
  +     <LI>Donald Ball's <A href="http://www.webslingerZ.com/balld/xsl/designer_manual.xml">A Guide to XML and XSL for Designers</A><BR><BR></LI>
       </UL>
       <P>When you come across other useful introductory or background materials, please email <A href="mailto:donald_leslie@lotus.com">Don Leslie</A>, so he can add them to this list.</P>
        
  @@ -151,7 +159,7 @@
           <DD>The part of a template that defines the kind(s) of nodes to which the template applies.<BR><BR></DD>
   
         </DL>
  -      <P>For more definitions of XSLT terminology, see Dave Lawson's 
  +      <P>For more definitions of XSLT terminology, see Dave Pawson's 
         <A href="http://freespace.virgin.net/b.pawson/xsl/xslvocab.html#top">XSLT Terminology
         Clarification</A>.</P>
       </FONT></TD></TR></TABLE><BR>
  
  
  
  1.3       +14 -9     xml-site/targets/xalan/getstarted.html
  
  Index: getstarted.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/getstarted.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- getstarted.html	2000/02/25 22:37:11	1.2
  +++ getstarted.html	2000/03/03 15:48:49	1.3
  @@ -12,7 +12,11 @@
   
     <IMG alt="Getting Started" border="0" height="12" hspace="0" src="graphics/getstarted-label-1.jpg" vspace="0" width="120"><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,6 +39,8 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
  @@ -54,7 +60,7 @@
   <LI>xalan.jar</LI>
   <LI>xerces.jar</LI>
   </UL>
  -<P>You can get the Sun JDK or JRE from <A href="http://www.java.sun.com">java.sun.com</A>. Download the latest release of Xalan and Xerces-java from <A href="http://xml.apache.org/dist/">xml.apache.org</A>. Check the <A href="readme.html#status">version release notes</A> to verify that you are using the correct version of Xerces. <B>Important</B> You may experience unpredictable anomalies if your Xalan and Xerces-Java builds are not in synch. You can use Xalan with some other XML parser, but it is up to you to implement a liaison to that parser. Your liaison class should extend org.apache.xalan.xpath.xml.XMLParserLiaisonDefault and implement org.apache.xalan.xpath.XPathSupport.</P>
  +<P>You can get the Sun JDK or JRE from <A href="http://www.java.sun.com">java.sun.com</A>. Download the latest release of Xalan and Xerces-java from <A href="http://xml.apache.org/dist/">xml.apache.org</A>. Check the <A href="readme.html#status">version release notes</A> to verify that you are using the correct version of Xerces. <B>Important</B> You may experience unpredictable anomalies if your Xalan and Xerces-Java builds are not in synch. You can use Xalan with other XML parsers, but it is up to you to implement liaisons to those parsers. Your liaison class should extend <A href="apidocs/org/apache/xalan/xpath/xml/XMLParserLiaisonDefault.html" target="_top">XMLParserLiaisonDefault class</A> and implement <A href="apidocs/org/apache/xalan/xpath/XPathSupport.html" target="_top">XPathSupport interface</A>.</P>
   <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>You may also download the latest releases of LotusXSL and the XML Parser for Java from <A href="http://www.alphaworks.ibm.com/tech/LotusXSL">alphaWorks</A>. LotusXSL and the XML Parser for Java are Xalan and Xerces-java respectively, along with additional features and with wrappers to support the core API in place on alphaWorks before the first releases of Xalan and Xerces-java on xml.apache.org in November 1999. The alphaWorks LotusXSL release also provides continued support for earlier alphaWorks releases of the XML4J DOM and TXDOM parsers.</I></FONT></TD></TR></TABLE>
   <P>If you plan to run <A href="extensions.html">XSLT extensions</A>. you need bsf.jar and bsfengines.jar, both of which are included in the Xalan distribution. If you plan to run XSLT extensions implemented in JavaScript or another scripting language, you will need one or more additional files as indicated in <A href="extensions.html#supported-lang">extensions language requirements</A>.</P>
   </FONT></TD></TR></TABLE><BR><A name="classpath"><!--anchor--></A>
  @@ -78,8 +84,7 @@
   <P>The extensions examples require additional JAR files on the class path, and the procedure for running the sample applet and sample servlet is different. For more information about all the samples, see <A href="samples.html">Xalan Samples</A>.</P>
   </FONT></TD></TR></TABLE><BR><A name="commandline"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Performing your own transformations from the command line</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height=
"1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -<P>java.org.apache.xalan.xslt.Process provides a basic utility for performing transformations from the command line. You use this utility, for example, to run the extensions samples. The command-line for the most standard of
  - transformations is as follows:</P>
  +<P>java.org.apache.xalan.xslt.Process provides a basic utility for performing transformations from the command line. You use this utility, for example, to run the extensions samples. The command-line for most standard transformations is as follows:</P>
   <P><CODE><FONT face="courier, monospaced">java org.apache.xalan.xslt.Process -in <I>xmlSource</I></FONT></CODE><BR>
   <CODE><FONT face="courier, monospaced">&nbsp;&nbsp;&nbsp;&nbsp;-xsl <I>stylesheet</I> -out <I>outputfile</I></FONT></CODE></P>
   <P>where <I>xmlSource</I> is the XML source file name, <I>stylesheet</I> is the XSL stylesheet file name, and <I>outputfile</I> is the output file name.</P>
  @@ -90,18 +95,18 @@
   <P>You can start by using your own XML source files and XSL stylesheets with the sample applications, which illustrate a number of the <A href="#usage-patterns">basic usage patterns</A>.</P>
   <P>If you modify a java source file, be sure to compile the class and place it on the system class path. Here are some basic points to keep in mind as you are setting up transformations:</P>
   <UL>
  -<LI>Use one of the <A href="apidocs/org/apache/xalan/xslt/XSLTProcessorFactory.html" target="_top">XSLTProcessorFactory class</A> static getProcessor methods to set up an <A href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html" target="_top">XSLTProcessor interface</A>. <BR><BR>By default, the XSLTProcessor uses the <A href="apidocs/org/apache/xalan/xpath/dtm/DTMLiaison.html" target="_top">DTMLiaison class</A> and the high-performance <A href="dtm.html"> Document Table Model (DTM)</A> &quot;pseudo&quot; DOM parser to process the input.  If your input is a DOM node (rather than a file, character stream, byte stream, or SAX input stream), you must use a &quot;standard&quot; DOM liaison and parser, such as the <A href="apidocs/org/apache/xalan/xpath/xdom/XercesLiaison.html" target="_top">XercesLiaison class</A> and the Xerces DOM parser. For an example, see <A href="#dom-in">Processing DOM input</A>.<BR><BR></LI>
  +<LI>Use one of the <A href="apidocs/org/apache/xalan/xslt/XSLTProcessorFactory.html" target="_top">XSLTProcessorFactory class</A> static getProcessor methods to set up an <A href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html" target="_top">XSLTProcessor interface</A>. <BR><BR>By default, the XSLTProcessor uses the <A href="apidocs/org/apache/xalan/xpath/dtm/DTMLiaison.html" target="_top">DTMLiaison class</A> and the high-performance <A href="dtm.html"> Document Table Model (DTM)</A> &quot;pseudo-DOM&quot; parser to process the input.  If your input or output is a DOM node (rather than a URL, file, or stream), you must use a &quot;standard&quot; DOM liaison and XML parser, such as the <A href="apidocs/org/apache/xalan/xpath/xdom/XercesLiaison.html" target="_top">XercesLiaison class</A> and the Xerces XML parser. For an example, see <A href="#dom-in">Processing DOM input</A>.<BR><BR></LI>
   <LI>Set up <A href="apidocs/org/apache/xalan/xslt/XSLTInputSource.html" target="_top">XSLTInputSource class</A> objects for the XML input and XSL stylesheet. You can use a file name or URL, character streams, byte streams, or SAX input stream to instantiate an XSLTInputSource object.<BR><BR>
   If the XML document contains a stylesheet Processing Instruction (PI), you do not need to create a separate
   XSLTInputSource object for an XSL stylesheet.<BR><BR></LI>
   <LI>For improved performance with a series of transformations, use the XSLTProcessor processStylesheet method to compile the XSL stylesheet (the result is a <A href="apidocs/org/apache/xalan/xslt/StylesheetRoot.html" target="_top">StylesheetRoot class</A>.<BR><BR>
   This is also useful when you need to get information from the stylesheet before the tranformation occurs, for
   instance, when you need to find out the output encoding in order to construct the right kind of Writer.
  -You must also compile the stylesheet if you are using the XSLTProcessor as a SAX document handler.<BR><BR></LI>
  +You must also compile the stylesheet if you are using the XSLTProcessor as a SAX document handler (see <A href="usagepatterns.html#sax">Generating and responding to SAX events</A>).<BR><BR></LI>
   <LI>Set up an <A href="apidocs/org/apache/xalan/xslt/XSLTResultTarget.html" target="_top">XSLTResultTarget class</A> for the transformation output. You can use a file name or URL, character stream, byte stream, or SAX document handler to instantiate an XSLTOutputTarget object.<BR><BR></LI>
   <LI>Use the XSLTProcessor (or, in some cases, the <A href="apidocs/org/apache/xalan/xslt/StylesheetRoot.html" target="_top">StylesheetRoot class</A>) process method to perform the transformation.<BR><BR>
  -Xalan is thread-safe for one instance per thread. If you are using the same instance of XSLTProcessor to perform
  -more than one transformation, call the reset method between transformations.</LI>
  +XSLTProcessor is thread-safe for one instance per thread. If you are using the same instance of XSLTProcessor to perform
  +more than one transformation, call the reset method between transformations. StylesheetRoot is multithread-safe. amd a single instance may be used acress threads.</LI>
   </UL>
   <P>For more information on setting up applications, see <A href="usagepatterns.html">Usage Patterns</A>.</P>
   </FONT></TD></TR></TABLE><BR>
  
  
  
  1.7       +33 -25    xml-site/targets/xalan/extensions.html
  
  Index: extensions.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/extensions.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- extensions.html	2000/02/25 22:37:10	1.6
  +++ extensions.html	2000/03/03 15:48:49	1.7
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,6 +39,8 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
  @@ -53,12 +59,12 @@
     <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Introduction</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vsp
ace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
     <P>For those situations where you would like to augment the functionality of XSLT with calls to a procedural language, Xalan supports the creation and use of extension elements and extension functions. An extension (a collection of elements and functions) inhabits a namespace, either a namespace you declare and designate as an extensions namespace, or the predefined java namespace that Xalan provides. For information about XML namespaces, see <A href="http://www.w3.org/TR/REC-xml-names/">Namespaces in XML</A>.</P>
   
  -<P><B>Extension elements</B>  Unlike a literal result element, which the stylesheet simply transfers to the result tree, an extension element performs an action. For example, you can use the Redirect extension elements shipped with Xalan to redirect portions of your transformation output to one or more files. Extension elements may contain attributes, text nodes, other elements, basically any form of the content you can place in an XML element. Extension elements may perform quite sophisticated actions, given that the extension routine has direct access to the XSL processor context object and to the element. In many cases the implementation returns void or null; if it does return a value, that value is placed in the transformation result.</P>
  +<P><B>Extension elements</B>  Unlike a literal result element, which the stylesheet simply transfers to the result tree, an extension element performs an action. For example, you can use the Redirect extension elements shipped with Xalan to redirect portions of your transformation output to one or more files. Extension elements may contain attributes, text nodes, other elements, basically any valid XML. Extension elements may perform quite sophisticated actions, given that the extension routine (the implementation) has direct access to the XSL processor context object and to the element. In many cases the implementation returns void or null; if it does return a value, that value is placed in the transformation result tree.</P>
   
  -<P><B>Extension functions</B>You can think of extension functions as extensions to the core library of functions that XPath provides. An extension function passes arguments to the extension and returns a value. You can use extension functions to return values that XSLT can interact with directly (node-set, result tree fragment, string, boolean, and number) as well as values (of any type) that you pass in turn to other extension functions.</P>
  +<P><B>Extension functions</B>You can think of extension functions as extendint the core library of functions that XPath provides. An extension function passes arguments to the extension implementation and returns a value. You can use extension functions to return values that XSLT can interact with directly (node-set, result tree fragment, string, boolean, and number) as well as values (of any type) that you pass in turn to other extension functions.</P>
   </FONT></TD></TR></TABLE><BR><A name="supported-lang"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Supported languages</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif
" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -<P>Xalan uses the Bean Scripting Framework (BSF), an architecture for incorporating scripting into Java applications and applets. BSF allows an application to take advantage of scripting while being independent of any specific scripting language. To date, we have tested extensions implemented in Java and JavaScript. Other languages with BSF support appear in the table below.</P>
  +<P>Xalan uses the <A href="http://www.alphaworks.ibm.com/tech/bsf">Bean Scripting Framework (BSF)</A>, an architecture for incorporating scripting into Java applications and applets. BSF allows an application to take advantage of scripting while being independent of any specific scripting language. To date, we have tested extensions implemented in Java and JavaScript. Other languages with BSF support appear in the table below.</P>
   <P>BSF requires two JAR files on the class path: bsf.jar and bsfengines.jar. These two JAR files are shipped with Xalan, and that is all that is required for Java extensions. The additional JAR files or DLLs required to support extensions in other languages are listed in the table below. These files are available from the sources indicated and are not shipped with Xalan.</P>
   <TABLE border="0" cellpadding="2" cellspacing="2" width="100%">
     <TR>
  @@ -131,7 +137,7 @@
   </TABLE>
   </FONT></TD></TR></TABLE><BR><A name="basic-pattern"><!--anchor--></A>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>The basic pattern</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" 
vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -<P>Let's examine a simple example. The stylesheet below uses an extension element and an extension function to transform an element in the XML source into a statement in the output indicating the date by which a customer can expect to a response to a given enquiry.</P>
  +<P>Let's examine a simple example. The stylesheet below uses an extension element and an extension function to transform an element in the XML source into a statement in the output indicating the date by which a customer can expect a response to a given enquiry.</P>
   
   <P>The source element contains a numdays attribute. The extension element contains a multiplier attribute, which is used to set a variable in the extension. The extension function computes the deadline, that is the current date plus numdays * multiplier. So for &lt;deadline numdays=&quot;3&quot;/&gt; (in the XML source) and &lt;timelapse multiplier=&quot;2&quot;/&gt; (in the stylesheet), the extension computes a deadline 6 days from now, and the stylesheet template  transform the deadline element into a string along the lines of <CODE><FONT face="courier, monospaced">&lt;p&gt;We have received your enquiry and will respond by April 29, 2000 12:07:16 PM EST.&lt;/p&gt;</FONT></CODE></P>
   <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>The extension function could include both numdays and multiplier as arguments, thus bypassing the need for the extension element, but the purpose here is to illustrate the usage pattern for both extension elements and extension functions.</I></FONT></TD></TR></TABLE>
  @@ -163,8 +169,9 @@
     &lt;lxslt:component prefix=&quot;my-ext&quot; elements=&quot;timelapse&quot; functions=&quot;getdate&quot;&gt;
       &lt;lxslt:script lang=&quot;javascript&quot;&gt;
         var multiplier=1;
  -      // The methods or functions that implement extension elements always take two arguments. 
  -      // The first argument is the XSL Processor context; the second argument is the element node.
  +      // The methods or functions that implement extension elements always take 2
  +      // arguments. The first argument is the XSL Processor context; the second 
  +      // argument is the element node.
         function timelapse(xslProcessorContext, elem)
         {
           multiplier=parseInt(elem.getAttribute(&quot;multiplier&quot;));
  @@ -196,7 +203,7 @@
   <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Syntax</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" 
width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
   <P>You can always use the pattern illustrated above to set up and use extension elements and extension functions. For extension functions implemented in Java, you can also use the java namespace, described in <A href="#java-namespace">Alternative: using the predefined java extension namespace</A>. Unless you are using the predefined java extension namespace, do the following:</P>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>1. Declare the lxslt namespace</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gi
f" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  -<P><CODE><FONT face="courier, monospaced">xmlns:lxslt=&quot;http://xml.apache.org/xslt&quot;</FONT></CODE></P>
  +<P><BR><CODE><FONT face="courier, monospaced">xmlns:lxslt=&quot;http://xml.apache.org/xslt&quot;</FONT></CODE></P>
   <P>The lxslt namespace provides support for the lxslt:component element and lxslt:script subelement.</P>
   <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>You may also use the LotusXSL alias for this namespace: &quot;http://xsl.lotus.com/&quot;.</I></FONT></TD></TR></TABLE>
   </FONT></TD></TR></TABLE><BR>
  @@ -204,16 +211,17 @@
   <P><BR><CODE><FONT face="courier, monospaced">xmlns:<I>prefix</I>=<I>URI</I></FONT></CODE></P>
   <P>The <I>prefix</I> identifies the namespace, and <I>URI</I> is one of the following:</P>
   <UL>
  -  <LI>An arbitrary (but unique) string.<BR>
  +  <LI>An arbitrary (but unique) string that matches the prefix attribute of an lxslt:component element in the stylesheet.<BR>
     Example: <CODE><FONT face="courier, monospaced">xmlns:ext1=&quot;xyz&quot;</FONT></CODE><BR><BR></LI>
     <LI><CODE><FONT face="courier, monospaced">[class:]<I>FQCN</I></FONT></CODE><BR>
      where <I>FQCN</I> is a Java fully qualified class name. If the extension only involves static class method
      calls (no instance constructors or instance method calls) precede the class name with <CODE><FONT face="courier, monospaced">class:</FONT></CODE>.<BR>
      Example: <CODE><FONT face="courier, monospaced">xmlns:ext2=&quot;java.util.Hashtable&quot;</FONT></CODE><BR><BR></LI>
  -  <LI>The file name or URL for another document that contains the xslt:component element.<BR>
  +  <LI>The file name or URL for another document that contains the lxslt:component element.<BR>
     Example: <CODE><FONT face="courier, monospaced">xmlns:ext3=&quot;my-component.txt&quot;</FONT></CODE></LI>
   </UL>
  -<P>If the stylesheet contains an xslt:component element with a prefix attribute set to the extension prefix, the only function of the URI is to provide a unique namespace. If the stylesheet does not contain an xslt:component, the URI must identify a Java class or a document containing the xslt:component.</P>
  +<TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>Xalan identifies the URI by working through the list above. In other words, if the URI does not match an lxslt:comonent element prefix in the stylesheet, Xalan attempts to map the URI to a fully qualified class name on the class path, and so on.</I></FONT></TD></TR></TABLE>
  +<P>If the stylesheet contains an lxslt:component element with a prefix attribute set to the extension prefix, the only function of the URI is to provide a unique namespace. If the stylesheet does not contain an lxslt:component, the URI must identify a Java class or a document containing the lxslt:component.</P>
   </FONT></TD></TR></TABLE><BR>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>3. Designate the extension prefixes</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/vo
id.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
   <P>In the stylesheet element:</P> 
  @@ -229,16 +237,16 @@
   </FONT></TD></TR></TABLE><BR>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>4. Set up an lxslt:component</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
 vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
   <P>In the scope of the xslt namespace declaration:</P>
  -<P><CODE><FONT face="courier, monospaced">&lt;xslt:component prefix=&quot;<I>prefix</I>&quot; </FONT></CODE><BR>
  +<P><CODE><FONT face="courier, monospaced">&lt;lxslt:component prefix=&quot;<I>prefix</I>&quot; </FONT></CODE><BR>
      <CODE><FONT face="courier, monospaced">&nbsp;&nbsp;&nbsp;&nbsp;functions=&quot;<I>func-1 func-2 ...func-n</I>&quot;</FONT></CODE><BR> 
      <CODE><FONT face="courier, monospaced">&nbsp;&nbsp;&nbsp;&nbsp;elements=&quot;<I>elem-1 elem-2 ...elem-n</I>&quot;&gt;</FONT></CODE><BR>
      <CODE><FONT face="courier, monospaced">&nbsp;&nbsp;&lt;!--See lxslt:script below--&gt;</FONT></CODE><BR>
  -   <CODE><FONT face="courier, monospaced">&lt;/xslt:component&gt;</FONT></CODE></P>
  -<P>where <I>func-1 func-2 ... func-n</I> and <I>elem-1 elem-2 ... elem-n</I> designate the functions and elements the extension provides and the stylesheet uses. You can use the function-available and element-available functions to determine at run time whether a function or element designated in the xslt:component is actually available.</P>
  -<TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>If your extension namespace is a fully qualified class name, you do not need to include the xslt:component. If you do not include it, you cannot use the function-available and element-available functions to determine whether a given element or function is actually available at runtime.</I></FONT></TD></TR></TABLE>
  +   <CODE><FONT face="courier, monospaced">&lt;/lxslt:component&gt;</FONT></CODE></P>
  +<P>where <I>func-1 func-2 ... func-n</I> and <I>elem-1 elem-2 ... elem-n</I> designate the functions and elements the extension provides and the stylesheet uses. You can use the function-available and element-available functions to determine at run time whether a function or element designated in the lxslt:component is actually available.</P>
  +<TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>If your extension namespace is a fully qualified class name, you do not need to include the lxslt:component. If you do not include it, you cannot use the function-available and element-available functions to determine whether a given element or function is actually available at runtime.</I></FONT></TD></TR></TABLE>
   </FONT></TD></TR></TABLE><BR>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>5. Set up the lxslt:script element</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/voi
d.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  -<P>In each xslt:component, you must include an lxslt:script element. If the extension is implemented in Java:</P>
  +<P>In each lxslt:component, you must include an lxslt:script element. If the extension is implemented in Java:</P>
   <P><CODE><FONT face="courier, monospaced">&lt;lxslt:script lang=&quot;javaclass&quot; src=&quot;<I>[class:]FQCN</I>&quot;/&gt;</FONT></CODE></P>
   <P>where <I>FQCN</I> is the fully qualified class name. If the extension only involves static class method calls (no instance constructors or instance method calls) precede the class name with <CODE><FONT face="courier, monospaced">class:</FONT></CODE>.<BR>
   Example: <CODE><FONT face="courier, monospaced">&lt;lxslt:script lang=&quot;javaclass&quot;</FONT></CODE><BR>
  @@ -283,7 +291,7 @@
   <P>JavaScript example: <CODE><FONT face="courier, monospaced">function myElement(xslProcContext, element)</FONT></CODE></P>
   </FONT></TD></TR></TABLE><BR>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>The Redirect extension</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspac
e="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  -<P>The Redirect extension (<A href="apidocsorg/apache/xalan/xslt/extensions/Redirect.html">org.apache.xalan.xslt.extensions.Redirect</A>) is shipped with Xalan (more extensions are on the way!).</P>
  +<P>The Redirect extension (<A href="apidocs/org/apache/xalan/xslt/extensions/Redirect.html">org.apache.xalan.xslt.extensions.Redirect</A>) is shipped with Xalan (more extensions are on the way!).</P>
   <P>A standard XSL transformation involves three parameters: the XML source tree, an XSL stylesheet, and the transformation result tree. Whether the result tree is output to a file, a character stream, a byte stream, a DOM, or a SAX document handler, the initial transformation sends the entire result to a single target, represented by the <A href="apidocs/org/apache/xalan/xslt/XSLTResultTarget.html" target="_top">XSLTResultTarget class</A>.</P> 
   <P>The Redirect extension supplies three extension elements that you can use to redirect portions of your transformation output to multiple files: &lt;open&gt;, &lt;write&gt;, and &lt;close&gt;. If you use the &lt;write&gt; element alone, the extension opens a file, writes to it, and closes the file immediately. If you want explicit control over the opening and closing of files, use &lt;write&gt; in conjunction with the &lt;open&gt; and &lt;close&gt; elements.</P>
   <P>Each of these elements includes a file attribute and/or a select attribute to designate the output file. The file attribute takes a string, so you can use it to directly specify the output file name; The select attribute takes an XPath expression, so you can use it to dynamically generate the output file name. If you include both attributes, the Redirect extension first evaluates the select attribute, and falls back to the file attribute if the select attribute expression does not return a valid file name.</P>
  @@ -423,18 +431,18 @@
   <P>If you want to pass a node-set to an extension function, set up a Java method to accept an 
   org.w3c.dom.NodeList (or an org.apache.xalan.xpath.MutableNodeList, which extends NodeList, if you want to modify the nodes).</P>
   <P>Suppose, for example, you have a myExtensions.ProcessNodes class with the following doSomething method:</P>
  -<P><CODE><FONT face="courier, monospaced">public static void doSomething(org.w3c.dom.NodeList nList)</FONT></CODE></P>
  +<P><CODE><FONT face="courier, monospaced">public static boolean doSomething(org.w3c.dom.NodeList nList)</FONT></CODE></P>
   <P>Assuming you set up this extension in the node-ext namespace, any of the following extension calls from a stylesheet are syntactically possible:</P>
   <P><CODE><FONT face="courier, monospaced">&lt;!--Process the current node--&gt;</FONT></CODE><BR>
  -<CODE><FONT face="courier, monospaced">node-ext:MyExtensions.ProcessNodes.doSomething(.)</FONT></CODE></P>
  +<CODE><FONT face="courier, monospaced">&lt;xsl:variable name=&quot;success&quot; select=&quot;node-ext:MyExtensions.ProcessNodes.doSomething(.)&quot;/&gt;</FONT></CODE></P>
   <P><CODE><FONT face="courier, monospaced">&lt;!--Process all nodes in current context--&gt;</FONT></CODE><BR>
  -<CODE><FONT face="courier, monospaced">node-ext:MyExtensions.ProcessNodes.doSomething(*)</FONT></CODE></P>
  +<CODE><FONT face="courier, monospaced">&lt;xsl:variable name=&quot;success&quot; select=&quot;node-ext:MyExtensions.ProcessNodes.doSomething(*)&quot;/&gt;</FONT></CODE></P>
   <P><CODE><FONT face="courier, monospaced">&lt;!-- Process all nodes --&gt;</FONT></CODE><BR>
  -<CODE><FONT face="courier, monospaced">node-ext:MyExtensions.ProcessNodes.doSomething(/*)</FONT></CODE></P>
  +<CODE><FONT face="courier, monospaced">&lt;xsl:variable name=&quot;success&quot; select=&quot;node-ext:MyExtensions.ProcessNodes.doSomething(/*)&quot;/&gt;</FONT></CODE></P>
   <P><CODE><FONT face="courier, monospaced">&lt;!--Process the foo/baz nodes in current context --&gt;</FONT></CODE><BR>
  -<CODE><FONT face="courier, monospaced">node-ext:MyExtensions.ProcessNodes.doSomething(foo/baz)</FONT></CODE></P>
  +<CODE><FONT face="courier, monospaced">&lt;xsl:variable name=&quot;success&quot; select=&quot;node-ext:MyExtensions.ProcessNodes.doSomething(foo/baz)&quot;/&gt;</FONT></CODE></P>
   <P><CODE><FONT face="courier, monospaced">&lt;!--Process the/foo/baz and /bar/saz nodes --&gt;</FONT></CODE><BR>
  -<CODE><FONT face="courier, monospaced">node-ext:MyExtensions.ProcessNodes.doSomething(/foo/baz | /bar/saz)</FONT></CODE></P>
  +<CODE><FONT face="courier, monospaced">&lt;xsl:variable name=&quot;success&quot; select=&quot;node-ext:MyExtensions.ProcessNodes.doSomething(/foo/baz | /bar/saz)&quot;/&gt;</FONT></CODE></P>
   <P>The NodeList is in fact a list of references into the XML document, so keep in mind that getNextSibling(), for example, gets you the next sibling in the document, which may not be the next Node in the NodeList.</P>
   </FONT></TD></TR></TABLE><BR>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Implementing extension functions</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.
gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  @@ -452,7 +460,7 @@
   </FONT></TD></TR></TABLE><BR>
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Use the java namespace when you make extension function calls</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hs
pace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
   <P>Use &quot;java&quot; as the prefix with the syntax described in <A href="#ext-func-calls">Extension function Java calls</A>.</P>
  -<P>That is all. You do not need to set an extension-element-prefixes attribute, and you do not include an xslt:component element. Given the absence of the lxslt:component element, you cannot use the function-available method to determine at runtime whether a Java method call is actually available. </P>
  +<P>That is all. You do not need to set an extension-element-prefixes attribute, and you do not include an lxslt:component element. Given the absence of the lxslt:component element, you cannot use the function-available method to determine at runtime whether a Java method call is actually available. </P>
   <P>Using the java namespace clearly involves less setup than using your own namespace, as long as these restrictions are not a problem. Remember that you always have the option of setting up your own namespace and extra overhead is really minimal.</P>
   </FONT></TD></TR></TABLE><BR><A name="ex-java-namespace"><!--anchor--></A> 
   <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Example: Formatting a date</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" v
space="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  
  
  
  1.9       +21 -14    xml-site/targets/xalan/dtm.html
  
  Index: dtm.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/dtm.html,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- dtm.html	2000/02/25 22:37:09	1.8
  +++ dtm.html	2000/03/03 15:48:49	1.9
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,28 +39,31 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
   <IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
         
   	 <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Using the Xalan DTM (Document Table Model)</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0
" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  -     <P>DOM (Document Object Model) is a standard interface for interacting with XML documents. Xalan
  -     supports this interface: when you provide a Node as input for an XML source document or XSL 
  -     stylesheet, Xalan uses an implementation of the DOM interface. For large XML documents, however,
  -     this may involve considerable overhead, since Xalan must create one or more Java objects for each Node
  -     in the document.</P>
  -     <P>For those cases where you provide a URL, file, character stream, SAX input stream, or byte stream as
  -      input, and use the default XML liaison and parser, Xalan avoids this overhead by implementing a DTM,
  -      effectively a &quot;pseudo-DOM&quot; that uses integer arrays in place of the DOM. For larger input trees, the
  +     <P><A href="http://www.w3.org/DOM" target="_top">DOM</A> (Document Object Model) provides a standard interface for interacting
  +     with XML documents. Xalan supports this interface: when you set up an XSLTProcessor to use 
  +     <A href="apidocs/org/apache/xalan/xpath/xdom/XercesLiaison.html" target="_top">XercesLiaison class</A> and the Xerces XML parser, Xalan uses an implementation of the 
  +     DOM interface. For large XML documents, however, this may involve considerable overhead, since Xalan must create 
  +     one or more Java objects for each Node in the DOM tree.</P>
  +     <P>For those cases where your input and output are URLS, files, or streams, and you use the default liaison (<A href="apidocs/org/apache/xalan/xpath/dtm/DTMLiaison.html" target="_top">DTMLiaison class</A>) and XML parser, Xalan avoids this overhead by implementing a DTM, a &quot;pseudo-DOM&quot; that uses
  +      integer arrays to represent the  required information about the DOM Nodes. For larger input and output trees, the
         performance improvements can be very significant.</P>
  -     <P>The XSLTProcessorFactory getProcessor() method sets up an XSLT processor to use the default liaison and
  -     parser. If your input is a DOM, you must use a &quot;standard&quot; DOM parser. In that case, you can use the 
  -     XercesLiaison and Xerces XML parser. For more information, see <A href="usagepatterns.html#dom-in">Processing DOM input</A>.</P>     
  +     <P>The <A href="apidocs/org/apache/xalan/xslt/XSLTProcessorFactory.html#getProcessor()">XSLTProcessorFactory
  +      getProcessor()</A> method (with no arguments) sets up an XSLT processor to use the default DTM
  +      liaison and parser. Keep in mind that if your input or output is a DOM, you must use a &quot;standard&quot; DOM liaison and XML
  +      parser, such as XercesLiaison and the Xerces XML parser. For more information, see 
  +      <A href="usagepatterns.html#dom-in">Processing DOM input and Producing DOM output</A>.</P>
         <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>The DTM parser always attempts to expand entitity references in the source tree and stylesheet
         tree. If you attempt to turn off entity reference expansion -- with DTMLiaison
         setShouldExpandEntitityRefs(false) -- DTMLaison does not make the setting and issues a message to that
  -      effect. You can make this setting with XercesLiaison.</I></FONT></TD></TR></TABLE>
  +      effect. If you want to turn off entity refereence expansion, use XercesLiaison.</I></FONT></TD></TR></TABLE>
   	 </FONT></TD></TR></TABLE><BR>
   </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
                 Copyright &copy; 2000 The Apache Software Foundation.
  
  
  
  1.11      +48 -32    xml-site/targets/xalan/commandline.html
  
  Index: commandline.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/xalan/commandline.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- commandline.html	2000/02/25 22:37:09	1.10
  +++ commandline.html	2000/03/03 15:48:49	1.11
  @@ -12,7 +12,11 @@
   
     <A href="getstarted.html" onMouseOut="rolloverOff('side-getstarted');" onMouseOver="rolloverOn('side-getstarted');"><IMG alt="Getting Started" border="0" height="12" hspace="0" name="side-getstarted" onLoad="rolloverLoad('side-getstarted','graphics/getstarted-label-2.jpg','graphics/getstarted-label-3.jpg');" src="graphics/getstarted-label-3.jpg" vspace="0" width="120"></A><BR>
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  -  
  +    
  +  <A href="faq.html" onMouseOut="rolloverOff('side-faq');" onMouseOver="rolloverOn('side-faq');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faq" onLoad="rolloverLoad('side-faq','graphics/faq-label-2.jpg','graphics/faq-label-3.jpg');" src="graphics/faq-label-3.jpg" vspace="0" width="120"></A><BR>
  +
  +  <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>  
  +
               
     <A href="samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Sample Apps" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','graphics/samples-label-2.jpg','graphics/samples-label-3.jpg');" src="graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>            
               
  @@ -22,7 +26,7 @@
   
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
     
  -  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-24');" onMouseOver="rolloverOn('side-ext-24');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-24" onLoad="rolloverLoad('side-ext-24','graphics/ext-24-label-2.jpg','graphics/ext-24-label-3.jpg');" src="graphics/ext-24-label-3.jpg" vspace="0" width="120"></A><BR>
  +  <A href="apidocs/index.html" onMouseOut="rolloverOff('side-ext-28');" onMouseOver="rolloverOn('side-ext-28');"><IMG alt="Java API" border="0" height="12" hspace="0" name="side-ext-28" onLoad="rolloverLoad('side-ext-28','graphics/ext-28-label-2.jpg','graphics/ext-28-label-3.jpg');" src="graphics/ext-28-label-3.jpg" vspace="0" width="120"></A><BR>
      
     <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>        
               
  @@ -35,6 +39,8 @@
    <A href="readme.html" onMouseOut="rolloverOff('side-readme');" onMouseOver="rolloverOn('side-readme');"><IMG alt="Release Notes" border="0" height="12" hspace="0" name="side-readme" onLoad="rolloverLoad('side-readme','graphics/readme-label-2.jpg','graphics/readme-label-3.jpg');" src="graphics/readme-label-3.jpg" vspace="0" width="120"></A><BR> 
   
   <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  +
  +<A href="http://xml.apache.org/bugs/" onMouseOut="rolloverOff('side-ext-42');" onMouseOver="rolloverOn('side-ext-42');"><IMG alt="Bug reporting" border="0" height="12" hspace="0" name="side-ext-42" onLoad="rolloverLoad('side-ext-42','graphics/ext-42-label-2.jpg','graphics/ext-42-label-3.jpg');" src="graphics/ext-42-label-3.jpg" vspace="0" width="120"></A><BR>
             
    <A href="xslt4c.html" onMouseOut="rolloverOff('side-xslt4c');" onMouseOver="rolloverOn('side-xslt4c');"><IMG alt="Xalan C++" border="0" height="12" hspace="0" name="side-xslt4c" onLoad="rolloverLoad('side-xslt4c','graphics/xslt4c-label-2.jpg','graphics/xslt4c-label-3.jpg');" src="graphics/xslt4c-label-3.jpg" vspace="0" width="120"></A><BR> 
       
  @@ -47,7 +53,7 @@
       for performing XSL transformation. To perform a transformation from the command line or a script,
       do the following:</P>
    		<OL>
  -    <LI><A href="getstarted.html#download">Download Xalan</A>. See <A href="install.html" target="_top">Installing Xalan</A>.<BR><BR></LI> 
  +    <LI><A href="getstarted.html#download">Download Xalan</A>.<BR><BR></LI> 
       <LI><A href="getstarted.html#classpath">Set the java classpath</A> to include xalan.jar and xerces.jar<BR><BR></LI>
       <LI>Call java and the Process class with the appropriate flags and
       arguments (described below). The following command line, for example, includes the -IN, -XSL,
  @@ -56,40 +62,50 @@
       <CODE><FONT face="courier, monospaced">java org.apache.xalan.xslt.Process -IN foo.xml -XSL foo.xsl -OUT foo.out</FONT></CODE>
       </LI></OL>
       <P>The command line utility can take the following flags and arguments:</P> 
  -      <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>
  -        -IN inputXMLURL
  -        -XSL XSLTransformationURL
  -        -OUT outputFileName
  -        -LXCIN compiledStylesheetFileNameIn
  -        -LXCOUT compiledStylesheetFileNameOut
  -        -PARSER fully qualified class name of parser liaison
  -        -V (Version info)
  -        -QC (Quiet Pattern Conflicts Warnings)
  -        -Q  (Quiet Mode)
  -        -LF (Use linefeeds only on output -- default is CR/LF)
  -        -CR (Use carriage returns only on output -- default is CR/LF)
  -        -INDENT (Number of spaces to indent each level in output tree --default is 0)
  -        -TT (Trace the templates as they are being called)
  -        -TG (Trace each result tree generation event)
  -        -TS (Trace each selection event)
  -        -TTC (Trace the template children as they are being processed)
  -        -VALIDATE (Validate the XML and XSL input -- validation is off by default)
  -        -EDUMP [optional]FileName (Do stackdump on error)
  -        -XML (Use XML formatter and add XML header)
  -        -TEXT (Use simple Text formatter)
  -        -HTML (Use HTML formatter)
  -        -PARAM name expression (Set a stylesheet parameter)
  -      </PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  -      <P>Use -IN to specify the XML source document. To specify the XSL stylesheet, use -XSL 
  -      or -LXCIN. To compile an XSL stylesheet for future use as -LXCIN input, use -LXCOUT.</P>
  -      <P>Include -PARSER if you supply your own parser liaison class, which is required
  -      if you do not use the Xerces-Java parser.</P>
  +      <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>-IN inputXMLURL
  +-XSL XSLTransformationURL
  +-OUT outputFileName
  +-LXCIN compiledStylesheetFileNameIn
  +-LXCOUT compiledStylesheetFileNameOut
  +-PARSER fully qualified class name of parser liaison
  +-V (Version info)
  +-QC (Quiet Pattern Conflicts Warnings)
  +-Q  (Quiet Mode)
  +-LF (Use linefeeds only on output -- default is CR/LF)
  +-CR (Use carriage returns only on output -- default is CR/LF)
  +-INDENT (Number of spaces to indent each level in output tree --default is 0)
  +-TT (Trace the templates as they are being called)
  +-TG (Trace each result tree generation event)
  +-TS (Trace each selection event)
  +-TTC (Trace the template children as they are being processed)
  +-VALIDATE (Validate the XML and XSL input -- validation is off by default)
  +-EDUMP [optional]FileName (Do stackdump on error)
  +-XML (Use XML formatter and add XML header)
  +-TEXT (Use simple Text formatter)
  +-HTML (Use HTML formatter)
  +-PARAM name expression (Set a stylesheet parameter)</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  +      <P>Use -IN to specify the XML source document.</P> 
  +      <P>Use -XSL to specify the XSL stylesheet file.</P>
  +      <P>Use -LXCIN to specify a compiled XSL stylesheet file.</P>
  +      <P>Use -LXCOUT to compile an XSL stylesheet for future use as -LXCIN input.</P>
  +      <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>You can only use -LXCIN with a compiled stylesheet that you have already created with the -LXOUT switch. For an
  +       example, see <A href="#compiledstylesheet">Using a compiled stylesheet</A></I></FONT></TD></TR></TABLE>
  +      <P>Include -PARSER if you supply your own parser liaison class, which is required if you do not use DTM or the 
  +        Xerces parser.</P>
         <P>Use -TEXT if you want the output to include only element values (not element tags with element names and
  -      attributes). Use -HTML to write 4.0 transitional HTML (some elements, such as &lt;br&gt;, are
  +      attributes).</P>
  +      <P>Use -HTML to write 4.0 transitional HTML (some elements, such as &lt;br&gt;, are
         not well formed.</P>
         <P>To set stylesheet parameters from the command line, use -PARAM name expression. If 
         you want to set the parameter to a string value, enclose the string in single quotes (') to
         make it an expression.</P>
  +      <P><A name="compiledstylesheet"><!--anchor--></A><B>Using a compiled stylesheet</B></P>
  +        <P>If you are using a stylesheet repeatedly, you can improvide performance by compiling the stylesheet the first time
  +          you use it and using the compiled stylesheet for subsequent transformations.</P>
  +        <P>For example, the following command line performs a transformation and compiles the stylesheet:&quot;<BR><BR>
  +      <CODE><FONT face="courier, monospaced">java org.apache.xalan.xsltProcess -in foo.xml -xsl foo.xsl -lxcout foo.style</FONT></CODE><BR><BR>
  +      The following command line uses the compiled stylesheet for the next transformation:<BR><BR>
  +      <CODE><FONT face="courier, monospaced">java org.apache.xalan.xsltProcess -in foo2.xml -lxcin foo.style</FONT></CODE></P>
      </FONT></TD></TR></TABLE><BR>
   </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
                 Copyright &copy; 2000 The Apache Software Foundation.
  
  
  

Re: cvs commit: xml-site/targets/xalan xslt4c.html usagepatterns.html samples.html readme.html overview.html getstarted.html extensions.html dtm.html commandline.html

Posted by Ken MacLeod <ke...@bitsko.slc.ut.us>.
Guy Hulbert <gu...@bioinfo.sickkids.on.ca> writes:

> On 3 Mar 2000 dleslie@locus.apache.org wrote:
> 
> > dleslie     00/03/03 07:48:53
> > 
> >   Modified:    targets/xalan xslt4c.html usagepatterns.html samples.html
> >                         readme.html overview.html getstarted.html
> >                         extensions.html dtm.html commandline.html
> >   Log:
> >   Weekly update
> >   
> >   Revision  Changes    Path
> >   1.10      +11 -5     xml-site/targets/xalan/xslt4c.html
> 	<snip>
> 
> Shortly after this list was created there was some debate over CVS commit
> messages and afterwards (for a while) they stopped.  They have resumed
> but have been sporadic so I ignored them.
> 
> However, this message was 163k.
> 
> Should we be seeing this or not ?

I believe the ones still coming through are from the documentaion
module, not code modules.  I don't recall why.

  -- Ken

Re: cvs commit: xml-site/targets/xalan xslt4c.html usagepatterns.html samples.html readme.html overview.html getstarted.html extensions.html dtm.html commandline.html

Posted by Guy Hulbert <gu...@bioinfo.sickkids.on.ca>.
On 3 Mar 2000 dleslie@locus.apache.org wrote:

> dleslie     00/03/03 07:48:53
> 
>   Modified:    targets/xalan xslt4c.html usagepatterns.html samples.html
>                         readme.html overview.html getstarted.html
>                         extensions.html dtm.html commandline.html
>   Log:
>   Weekly update
>   
>   Revision  Changes    Path
>   1.10      +11 -5     xml-site/targets/xalan/xslt4c.html
	<snip>

Shortly after this list was created there was some debate over CVS commit
messages and afterwards (for a while) they stopped.  They have resumed
but have been sporadic so I ignored them.

However, this message was 163k.

Should we be seeing this or not ?

Thanks,

----
Guy Hulbert, Project Manager		Bioinformatics Supercomputing Centre
(416) 813-8876				555 University Avenue
email: guy@bioinfo.sickkids.on.ca	The Hospital for Sick Children
http:  www.bioinfo.sickkids.on.ca	Toronto, ON, M5G 1X8, CANADA.