ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs XSLTProcess.java
Date Tue, 11 Jun 2002 15:43:34 GMT
bodewig     2002/06/11 08:43:33

  Modified:    .        Tag: ANT_15_BRANCH WHATSNEW
               src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        XSLTProcess.java
  Log:
  Make <style>'s outputtype attribute do something.
  
  PR: 9554
  Submitted by:	Greg Steuck
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.263.2.33 +2 -0      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.263.2.32
  retrieving revision 1.263.2.33
  diff -u -r1.263.2.32 -r1.263.2.33
  --- WHATSNEW	11 Jun 2002 14:14:48 -0000	1.263.2.32
  +++ WHATSNEW	11 Jun 2002 15:43:33 -0000	1.263.2.33
  @@ -20,6 +20,8 @@
   * Nested <property>'s inside <ant> can now be overriden by subsequent
     <ant> and <antcall> tasks.
   
  +* <xslt>'s outputtype attribute wouldn't do anything.
  +
   Other changes:
   --------------
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.43.2.3  +4 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
  
  Index: XSLTProcess.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java,v
  retrieving revision 1.43.2.2
  retrieving revision 1.43.2.3
  diff -u -r1.43.2.2 -r1.43.2.3
  --- XSLTProcess.java	27 May 2002 09:13:36 -0000	1.43.2.2
  +++ XSLTProcess.java	11 Jun 2002 15:43:33 -0000	1.43.2.3
  @@ -657,6 +657,9 @@
           try {
               log("Loading stylesheet " + stylesheet, Project.MSG_INFO);
               liaison.setStylesheet(stylesheet);
  +            if (outputtype != null) {
  +                liaison.setOutputtype(outputtype);
  +            }
               for (Enumeration e = params.elements(); e.hasMoreElements();) {
                   Param p = (Param) e.nextElement();
                   liaison.addParam(p.getName(), p.getExpression());
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message