You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by gl...@apache.org on 2001/07/24 12:32:29 UTC

cvs commit: jakarta-taglibs/src/taglib tld11.xsl tld12.xsl

glenn       01/07/24 03:32:29

  Modified:    src/taglib tld11.xsl tld12.xsl
  Log:
  Tell xalan to indent generated xml
  
  Revision  Changes    Path
  1.6       +2 -0      jakarta-taglibs/src/taglib/tld11.xsl
  
  Index: tld11.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/src/taglib/tld11.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- tld11.xsl	2001/07/05 12:23:23	1.5
  +++ tld11.xsl	2001/07/24 10:32:29	1.6
  @@ -15,11 +15,13 @@
       1/1/2001
     -->
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  +  xmlns:xalan="http://xml.apache.org/xslt"
     version="1.0">
     <!-- Output method and formatting -->
     <xsl:output
                method="xml"
                indent="yes"
  +             xalan:indent-amount="2"
        doctype-public="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
        doctype-system="http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"/>
      <xsl:strip-space elements="taglib tag attribute"/>
  
  
  
  1.2       +5 -3      jakarta-taglibs/src/taglib/tld12.xsl
  
  Index: tld12.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/src/taglib/tld12.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tld12.xsl	2001/07/04 22:19:23	1.1
  +++ tld12.xsl	2001/07/24 10:32:29	1.2
  @@ -17,12 +17,14 @@
       Modified to support generation of jsp1.2 TLD
     -->
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  +  xmlns:xalan="http://xml.apache.org/xslt"
     version="1.0">
     <!-- Output method and formatting -->
     <xsl:output
  -     method="xml"
  -     indent="yes"/>
  -   <xsl:strip-space elements="taglib tag attribute"/>
  +             method="xml"
  +             indent="yes"
  +             xalan:indent-amount="2"/>
  +  <xsl:strip-space elements="taglib tag attribute"/>
     <!-- Process an entire tag library -->
     <xsl:template match="taglib">
       <taglib xmlns="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">