dleslie     02/01/18 10:01:10

  Modified:    java/samples/servlet SimpleXSLTServlet.java
  Log:
  Replaced  todo.xml/todo.xsl with trax.xml/spec.xsl.
  
  Revision  Changes    Path
  1.4       +2 -2      xml-xalan/java/samples/servlet/SimpleXSLTServlet.java
  
  Index: SimpleXSLTServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/samples/servlet/SimpleXSLTServlet.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SimpleXSLTServlet.java    24 Apr 2001 13:16:56 -0000      1.3
  +++ SimpleXSLTServlet.java    18 Jan 2002 18:01:10 -0000      1.4
  @@ -96,8 +96,8 @@
       {        
         TransformerFactory tFactory = TransformerFactory.newInstance();
         // Get the XML input document and the stylesheet.
  -      Source xmlSource = new StreamSource(new 
URL("file:todo.xml").openStream());
  -      Source xslSource = new StreamSource(new 
URL("file:todo.xsl").openStream());
  +      Source xmlSource = new StreamSource(new 
URL("file:trax.xml").openStream());
  +      Source xslSource = new StreamSource(new 
URL("file:spec.xsl").openStream());
         // Generate the transformer.
         Transformer transformer = tFactory.newTransformer(xslSource);
         // Perform the transformation, sending the output to the response.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to