joerg       2004/02/18 13:26:46

  Modified:    src/blocks/woody/samples/resources woody-field-styling.xsl
                        woody-advanced-field-styling.xsl
  Log:
  applying templates to wi:help just for ignoring them makes no sense => 
wi:help completely to advanced field styling
  
  Revision  Changes    Path
  1.43      +2 -5      
cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl
  
  Index: woody-field-styling.xsl
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- woody-field-styling.xsl   18 Feb 2004 21:11:44 -0000      1.42
  +++ woody-field-styling.xsl   18 Feb 2004 21:26:46 -0000      1.43
  @@ -31,7 +31,7 @@
     </xsl:template>
   
     <!--+
  -      | Common stuff like wi:validation-message, @required or wi:help.
  +      | Common stuff like wi:validation-message, @required.
         +-->
     <xsl:template match="wi:*" mode="common">
       <!-- validation message -->
  @@ -40,7 +40,6 @@
       <xsl:if test="@required='true'">
         <span class="woody-field-required"> * </span>
       </xsl:if>
  -    <xsl:apply-templates select="wi:help"/>
     </xsl:template>
   
     <!--+
  @@ -98,8 +97,6 @@
         <xsl:copy-of select="."/>
       </xsl:if>
     </xsl:template>
  -
  -  <xsl:template match="wi:help"/>
   
     <!--+
         |
  
  
  
  1.8       +8 -0      
cocoon-2.1/src/blocks/woody/samples/resources/woody-advanced-field-styling.xsl
  
  Index: woody-advanced-field-styling.xsl
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-advanced-field-styling.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- woody-advanced-field-styling.xsl  18 Feb 2004 21:11:44 -0000      1.7
  +++ woody-advanced-field-styling.xsl  18 Feb 2004 21:26:46 -0000      1.8
  @@ -43,6 +43,14 @@
     </xsl:template>
   
     <!--+
  +      | Add wi:help to the common stuff.
  +      +-->
  +  <xsl:template match="wi:*" mode="common">
  +    <xsl:apply-imports/>
  +    <xsl:apply-templates select="wi:help"/>
  +  </xsl:template>
  +
  +  <!--+
         | 
         +-->
     <xsl:template match="wi:help">
  
  
  

Reply via email to