dleslie     00/10/18 10:56:53

  Modified:    java/samples/servlet ApplyXSLT.java
                        DefaultApplyXSLTProperties.java
  Log:
  Updated to use org.apache.xml.serialize.transition in place of the
  Xerces package.
  
  Revision  Changes    Path
  1.8       +1 -12     xml-xalan/java/samples/servlet/ApplyXSLT.java
  
  Index: ApplyXSLT.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/samples/servlet/ApplyXSLT.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ApplyXSLT.java    2000/10/13 02:33:05     1.7
  +++ ApplyXSLT.java    2000/10/18 17:56:50     1.8
  @@ -1,5 +1,5 @@
   
/*****************************************************************************************************
  - * $Id: ApplyXSLT.java,v 1.7 2000/10/13 02:33:05 sboag Exp $
  + * $Id: ApplyXSLT.java,v 1.8 2000/10/18 17:56:50 dleslie Exp $
    *
    * Copyright (c) 1998-1999 Lotus Corporation, Inc. All Rights Reserved.
    *                           This software is provided without a warranty of 
any kind.
  @@ -44,17 +44,6 @@
   import org.xml.sax.XMLReader;
   import org.xml.sax.helpers.XMLReaderFactory;
   import org.xml.sax.helpers.XMLFilterImpl;
  -
  -
  -// Imported Serializer classes
  -import org.apache.xml.serialize.OutputFormat;
  -import org.apache.xml.serialize.Serializer;
  -import org.apache.xml.serialize.SerializerFactory;
  -
  -// Imported JAVA API for XML Parsing 1.0 classes
  -import javax.xml.parsers.ParserConfigurationException; 
  -
  -
   
   
/*****************************************************************************************************
    *
  
  
  
  1.4       +6 -6      
xml-xalan/java/samples/servlet/DefaultApplyXSLTProperties.java
  
  Index: DefaultApplyXSLTProperties.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/samples/servlet/DefaultApplyXSLTProperties.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultApplyXSLTProperties.java   2000/10/13 02:33:05     1.3
  +++ DefaultApplyXSLTProperties.java   2000/10/18 17:56:51     1.4
  @@ -1,5 +1,5 @@
   
/*****************************************************************************************************
  - * $Id: DefaultApplyXSLTProperties.java,v 1.3 2000/10/13 02:33:05 sboag Exp $
  + * $Id: DefaultApplyXSLTProperties.java,v 1.4 2000/10/18 17:56:51 dleslie 
Exp $
    * 
    * Copyright (c) 1998-1999 Lotus Corporation, Inc. All Rights Reserved.
    *                           This software is provided without a warranty of 
any kind.
  @@ -218,11 +218,11 @@
          props.put("org.apache.trax.processor.xslt", 
"org.apache.xalan.processor.StylesheetProcessor");
          props.put("org.xml.sax.driver", 
"org.apache.xerces.parsers.SAXParser");
          props.put("serialize.methods", "xml,html,Text");
  -       props.put("serialize.xml", "org.apache.xml.serialize.XMLSerializer"); 
 
  -       props.put("serialize.html", 
"org.apache.xml.serialize.HTMLSerializer");        
  -       props.put("serialize.text", 
"org.apache.xml.serialize.TextSerializer");        
  -       props.put("serialize.xhtml", 
"org.apache.xml.serialize.XHTMLSerializer");      
  -       props.put("serialize.wml", "org.apache.xml.serialize.WMLSerializer"); 
  +       props.put("serialize.xml", 
"org.apache.xml.serialize.transition.XMLSerializer");       
  +       props.put("serialize.html", 
"org.apache.xml.serialize.transition.HTMLSerializer");     
  +       props.put("serialize.text", 
"org.apache.xml.serialize.transition.XTextSerializer");    
  +       props.put("serialize.xhtml", 
"org.apache.xml.serialize.transition.XHTMLSerializer");   
  +       props.put("serialize.wml", 
"org.apache.xml.serialize.transition.XWMLSerializer");     
          props.put("serialize.format.xml", 
"serialize.format.XMLOutputFormat");         
          props.put("serialize.format.html", 
"serialize.format.XMLOutputFormat");        
          props.put("serialize.format.text", 
"serialize.format.XMLOutputFormat");        
  
  
  

Reply via email to