cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java esql.xsl xsp.xsl
Date Fri, 22 Dec 2000 14:59:31 GMT
bloritsch    00/12/22 06:59:30

  Modified:    src/org/apache/cocoon/components/language/markup/xsp/java
                        Tag: xml-cocoon2 esql.xsl xsp.xsl
  Log:
  Standardized the copy methods, and added a target to xsp.xsl so that we can trap the
  special exception for creating attributes.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.17  +7 -11     xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java/Attic/esql.xsl
  
  Index: esql.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java/Attic/esql.xsl,v
  retrieving revision 1.1.2.16
  retrieving revision 1.1.2.17
  diff -u -r1.1.2.16 -r1.1.2.17
  --- esql.xsl	2000/12/21 21:12:52	1.1.2.16
  +++ esql.xsl	2000/12/22 14:59:25	1.1.2.17
  @@ -1,5 +1,5 @@
   <?xml version="1.0"?>
  -<!-- $Id: esql.xsl,v 1.1.2.16 2000/12/21 21:12:52 bloritsch Exp $-->
  +<!-- $Id: esql.xsl,v 1.1.2.17 2000/12/22 14:59:25 bloritsch Exp $-->
   <!--
   
    ============================================================================
  @@ -150,16 +150,6 @@
       </xsl:copy>
     </xsl:template>
   
  -  <xsl:template match="@*|node()" priority="-2">
  -    <xsl:copy>
  -      <xsl:apply-templates select="@*|node()"/>
  -    </xsl:copy>
  -  </xsl:template>
  -
  -  <xsl:template match="text()" priority="-1">
  -    <xsl:value-of select="."/>
  -  </xsl:template>
  -
     <!-- =========================================================== -->
   
     <xspdoc:desc>
  @@ -768,6 +758,12 @@
           </xsl:call-template>
         </xsl:when>
       </xsl:choose>
  +  </xsl:template>
  +
  +  <xsl:template match="@*|*|text()|processing-instruction()">
  +    <xsl:copy>
  +      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
  +    </xsl:copy>
     </xsl:template>
   
   </xsl:stylesheet>
  
  
  
  1.1.2.15  +5 -1      xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java/Attic/xsp.xsl
  
  Index: xsp.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java/Attic/xsp.xsl,v
  retrieving revision 1.1.2.14
  retrieving revision 1.1.2.15
  diff -u -r1.1.2.14 -r1.1.2.15
  --- xsp.xsl	2000/12/21 22:14:06	1.1.2.14
  +++ xsp.xsl	2000/12/22 14:59:27	1.1.2.15
  @@ -11,7 +11,7 @@
   
   <!--
    * @author <a href="mailto:ricardo@apache.org>Ricardo Rocha</a>
  - * @version CVS $Revision: 1.1.2.14 $ $Date: 2000/12/21 22:14:06 $
  + * @version CVS $Revision: 1.1.2.15 $ $Date: 2000/12/22 14:59:27 $
   -->
   
   <!-- XSP Core logicsheet for the Java language -->
  @@ -379,6 +379,10 @@
           this.characters("<xsl:value-of select="."/>");
         </xsl:otherwise>
       </xsl:choose>
  +  </xsl:template>
  +
  +  <xsl:template match="text()" mode="value">
  +    <xsl:value-of select="."/>
     </xsl:template>
   
     <xsl:template match="processing-instruction()">
  
  
  

Mime
View raw message