jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-taglibs/src/taglib taglib-doc.xsl
Date Sat, 06 Apr 2002 18:06:47 GMT
glenn       02/04/06 10:06:47

  Modified:    src/taglib taglib-doc.xsl
  Log:
  Update tag attribute required and rtexprvalue fields to use Yes or No for consistency
  
  Revision  Changes    Path
  1.13      +32 -4     jakarta-taglibs/src/taglib/taglib-doc.xsl
  
  Index: taglib-doc.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/src/taglib/taglib-doc.xsl,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- taglib-doc.xsl	6 Apr 2002 15:28:51 -0000	1.12
  +++ taglib-doc.xsl	6 Apr 2002 18:06:46 -0000	1.13
  @@ -216,12 +216,10 @@
                   <td bgcolor="#ffffff"><xsl:text>&#160;</xsl:text></td>
                   <td><b><xsl:value-of select="name"/></b></td>
                   <td>
  -                   <xsl:text>&#160;</xsl:text>
  -                   <xsl:value-of select="required"/>
  +                   <xsl:apply-templates select="required"/>
                   </td>
                   <td colspan="2">
  -                  <xsl:text>&#160;</xsl:text>
  -                  <xsl:value-of select="rtexprvalue"/>
  +                  <xsl:apply-templates select="rtexprvalue"/>
                   </td>
                   <td>
                     <xsl:text>&#160;</xsl:text>
  @@ -521,6 +519,36 @@
         <p><pre><xsl:copy-of select="code"/></pre></p>
       </td>
     </tr> 
  +</xsl:template>
  +
  +<xsl:template match="required">
  +  <xsl:text>&#160;</xsl:text>
  +  <xsl:choose>
  +    <xsl:when test=".='true'">
  +      Yes
  +    </xsl:when>
  +    <xsl:when test=".='yes'">
  +      Yes
  +    </xsl:when>
  +    <xsl:otherwise>
  +      No
  +    </xsl:otherwise>
  +  </xsl:choose>
  +</xsl:template>
  +
  +<xsl:template match="rtexprvalue">
  +  <xsl:text>&#160;</xsl:text>
  +  <xsl:choose>
  +    <xsl:when test=".='true'">
  +      Yes
  +    </xsl:when>
  +    <xsl:when test=".='yes'">
  +      Yes
  +    </xsl:when>
  +    <xsl:otherwise>
  +      No
  +    </xsl:otherwise>
  +  </xsl:choose>
   </xsl:template>
   
   <xsl:template name="configuration">
  
  
  

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


Mime
View raw message