dleslie     00/11/21 09:37:16

  Modified:    java/samples/servlet ApplyXSLT.java
  Log:
  StreamSource.getByteStream() is now
  StreamSource.getInputstream().
  
  Revision  Changes    Path
  1.12      +2 -2      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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ApplyXSLT.java    2000/11/16 16:51:10     1.11
  +++ ApplyXSLT.java    2000/11/21 17:37:16     1.12
  @@ -1,5 +1,5 @@
   
/*****************************************************************************************************
  - * $Id: ApplyXSLT.java,v 1.11 2000/11/16 16:51:10 dleslie Exp $
  + * $Id: ApplyXSLT.java,v 1.12 2000/11/21 17:37:16 dleslie Exp $
    *
    * Copyright (c) 1998-1999 Lotus Corporation, Inc. All Rights Reserved.
    *                           This software is provided without a warranty of 
any kind.
  @@ -710,7 +710,7 @@
       {
          DocumentBuilderFactory dfactory = 
DocumentBuilderFactory.newInstance();
         DocumentBuilder docBuilder = dfactory.newDocumentBuilder();
  -      Node sourceTree = docBuilder.parse(xmlSource.getByteStream());
  +      Node sourceTree = docBuilder.parse(xmlSource.getInputStream());
         for(Node child=sourceTree.getFirstChild(); null != child; 
child=child.getNextSibling())
         {
           if(Node.PROCESSING_INSTRUCTION_NODE == child.getNodeType())
  
  
  

Reply via email to