You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mc...@apache.org on 2005/07/16 00:49:46 UTC

cvs commit: xml-xalan/java/xdocs/sources/xalan usagepatterns.xml

mcnamara    2005/07/15 15:49:45

  Modified:    java/xdocs/sources/xalan usagepatterns.xml
  Log:
  Patch for XALANJ-2142 - correction for the xalan namespace URI.  Patch provided by Brian Minchau and
  reviewed by Sarah McNamara.
  
  Patch for XALANJ-2144 - incorrect use of the word "concurrently" when referring to the XPath module.
  
  Revision  Changes    Path
  1.64      +4 -4      xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml
  
  Index: usagepatterns.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- usagepatterns.xml	7 Apr 2005 05:10:37 -0000	1.63
  +++ usagepatterns.xml	15 Jul 2005 22:49:45 -0000	1.64
  @@ -112,7 +112,7 @@
   <p>Output properties for XML, HTML, and Text transformation output are defined in property files in the org.apache.xml.serializer package.</p>
   <p>You can change these settings as follows:</p>
   <ol>
  -  <li>Declare the xalan namespace in your stylesheet element (xmlns:xalan="http://xml.apache.org/xslt").<br/><br/></li>
  +  <li>Declare the xalan namespace in your stylesheet element (xmlns:xalan="http://xml.apache.org/xalan").<br/><br/></li>
     <li>Use the namespace prefix you assign (for example, "xalan") to redefine properties of interest in the stylesheet xsl:output
         element (for example, xalan:indent-amount="5").</li>
   </ol>
  @@ -120,7 +120,7 @@
   <source>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;xsl:stylesheet version="1.0" 
                   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  -                xmlns:xalan="http://xml.apache.org/xslt"&gt;
  +                xmlns:xalan="http://xml.apache.org/xalan"&gt;
                   
     &lt;xsl:output method="xml" 
                 encoding="UTF-8"
  @@ -348,7 +348,7 @@
   </s2><anchor name="xpath"/>
   <s2 title="Working with XPath expressions">
   <p>XSLT stylesheets use XPath expressions to select nodes, specify conditions, and generate text for the result tree. XPath provides an API that you can call directly. For example, you may want to select nodes programmatically and do your own processing without a stylesheet.</p>
  -<p>XPath is an independent entity, with clients other than XSLT processors (such as XPointer). Accordingly, &xslt4j2; has packaged XPath as a separate module (org.apache.xpath and its subpackages), although concurrently this module does use some utility classes packaged in org.apache.xalan.utils. The org.apache.xpath.XPathAPI class contains convenience methods that you can use to return single DOM Nodes, NodeIterators, and XObjects. Apart from their own functionality, these methods also provide a path into the lower-level XPath API that you may find useful.</p>
  +<p>XPath is an independent entity, with clients other than XSLT processors (such as XPointer). Accordingly, &xslt4j2; has packaged XPath as a separate module (org.apache.xpath and its subpackages), although currently this module does use some utility classes packaged in org.apache.xalan.utils. The org.apache.xpath.XPathAPI class contains convenience methods that you can use to return single DOM Nodes, NodeIterators, and XObjects. Apart from their own functionality, these methods also provide a path into the lower-level XPath API that you may find useful.</p>
   <p>For an example that uses the XPathAPI convenience methods to execute XPath expressions against XML source files, see <link idref="samples" anchor="applyxpath">ApplyXPath</link>.</p>
   </s2><anchor name="applet"/>
   <s2 title="Using the &xslt4j; applet wrapper">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org