dleslie     00/10/16 11:07:05

  Modified:    java/xdocs/sources/xalan usagepatterns.xml
  Log:
  Revised per comments from Shane.
  
  Revision  Changes    Path
  1.7       +2 -2      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- usagepatterns.xml 2000/10/16 16:48:08     1.6
  +++ usagepatterns.xml 2000/10/16 18:07:03     1.7
  @@ -96,12 +96,12 @@
   //    source and send the output to a Result object.
   transformer.transform
         ( new org.xml.sax.InputSource("foo.xml"), 
  -        new org.apache.trax.Result(new java.io.FileWriter("foo.out")) 
);</source>
  +        new org.apache.trax.Result(new java.io.FileOutputStream("foo.out")) 
);</source>
     <note>For a working example of this model at its simplest, see 
SimpleTransform.java in the java/samples/SimpleTransform subdirectory.</note>
     </s2><anchor name="processor"/>
     <s2 title="1. Instantiate a stylesheet Processor">
     <p>The org.apache.trax.Processor static newInstance() method with "xslt" 
as its argument instantiates the processor designated by the 
org.apache.trax.processor.xslt system property.</p>
  -  <p>If this system property has not already been set, 
org.apache.trax.Processor sets it from org/apache/trax/trax.properties (in 
xalan.jar).</p>
  +  <p>If this system property has not already been set (from the command line 
or in your application), org.apache.trax.Processor sets it from 
org/apache/trax/trax.properties (in xalan.jar).</p>
     <p>For &xslt4j;, this system property should be set to 
org.apache.xalan.processor.StylesheetProcessor.</p>
   </s2><anchor name="process"/>
     <s2 title="2. Process the stylesheet, producing a Templates object">
  
  
  

Reply via email to