dleslie     00/10/19 04:57:13

  Modified:    java/xdocs/sources/xalan readme.xml usagepatterns.xml
  Log:
  1. Updated ref to new serializer packages.
  2. Added more visible "alpha release" to release notes.
  
  Revision  Changes    Path
  1.7       +1 -1      xml-xalan/java/xdocs/sources/xalan/readme.xml
  
  Index: readme.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/readme.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- readme.xml        2000/10/18 19:04:34     1.6
  +++ readme.xml        2000/10/19 11:57:13     1.7
  @@ -61,7 +61,7 @@
    * <http://www.apache.org/>.
    -->
   <s1 title="Release Notes">
  -<p>&xslt4j-current;</p>
  +<p>&xslt4j-current; alpha release</p>
   <p>It is our pleasure to thank two new contributors, Gary Peskin and Costin 
Manolache, for the fantastic help they have provided in producing this first 
release of Xalan-Java 2, and for the new ideas and creative work we are sure 
they will continue to provide in the ongoing &xslt4j; saga.</p>
    <ul>
     <li><link anchor="status">Status</link></li>
  
  
  
  1.12      +4 -7      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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- usagepatterns.xml 2000/10/17 18:00:49     1.11
  +++ usagepatterns.xml 2000/10/19 11:57:13     1.12
  @@ -215,13 +215,10 @@
   
   // 4. Perform the transformation.
   // Set up the ContentHandler (a serializer) for the output.
  -org.apache.trax.Result result = 
  -          new org.apache.trax.Result(new java.io.FileWriter("foo.out"));
  -org.apache.xml.serialize.SerializerFactory sfactory = 
  -  org.apache.xml.serialize.SerializerFactory.getSerializerFactory("xml");
  -org.apache.xml.serialize.Serializer serializer = sfactory.makeSerializer
  -                         ( result.getCharacterStream(), 
  -                           new org.apache.xml.serialize.OutputFormat() );
  +java.io.FileOutputStream fos = new java.io.FileOutputStream("foo.out");
  +org.apache.trax.Result result = new org.apache.trax.Result(fos);
  +org.apache.serialize.Serializer serializer = 
  +               org.apache.serialize.SerializerFactory.getSerializer("xml");
   transformer.setContentHandler(serializer.asContentHandler());
   // Set up the ContentHandler for the input.
   org.xml.sax.ContentHandler chandler = transformer.getInputContentHandler();
  
  
  

Reply via email to