glenn       01/07/07 12:23:42

  Modified:    src/taglib taglib-doc.xsl
  Log:
  Allow xhtml in all description elements
  
  Revision  Changes    Path
  1.7       +12 -8     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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- taglib-doc.xsl    2001/07/04 23:16:08     1.6
  +++ taglib-doc.xsl    2001/07/07 19:23:41     1.7
  @@ -94,9 +94,7 @@
     <!-- Overview -->
     <a><xsl:attribute name="name">overview</xsl:attribute></a>
     <h3>Overview</h3>
  -  <xsl:for-each select="description/*">
  -    <xsl:copy-of select="."/>
  -  </xsl:for-each>
  +  <xsl:apply-templates select="description"/>
       
     <!-- Requirements -->
     <a><xsl:attribute name="name">requirements</xsl:attribute></a>
  @@ -176,7 +174,9 @@
             </td>
           </tr>
           <tr>
  -          <td colspan="6"><xsl:value-of select="description"/></td>
  +          <td colspan="6">
  +            <xsl:apply-templates select="description"/>
  +          </td>
           </tr>
           <tr>
             <td><b>Tag Body</b></td>
  @@ -224,7 +224,7 @@
                 <tr>
                   <td bgcolor="#ffffff"><xsl:text>&#160;</xsl:text></td>
                   <td colspan="5">
  -                   <xsl:value-of select="description"/>
  +                  <xsl:apply-templates select="description"/>
                   </td>
                 </tr>
               </xsl:for-each>
  @@ -290,7 +290,7 @@
                 <tr>
                   <td><xsl:text>&#160;</xsl:text></td>
                   <td colspan="5">
  -                  <xsl:value-of select="description"/>
  +                  <xsl:apply-templates select="description"/>
                   </td>
                 </tr>
                 <xsl:choose>
  @@ -327,7 +327,7 @@
                         <td><xsl:text>&#160;</xsl:text></td>
                         <td><xsl:text>&#160;</xsl:text></td>
                         <td colspan="4">
  -                        <xsl:value-of select="description"/>
  +                        <xsl:apply-templates select="description"/>
                         </td>
                       </tr>
                     </xsl:for-each>
  @@ -427,7 +427,11 @@
     <xsl:copy-of select="*|text()"/>  
     </p>
   </xsl:template>
  -  
  +
  +<xsl:template match="description">  
  +  <xsl:copy-of select="*|text()"/>
  +</xsl:template>
  +
   <xsl:template match="/document/revision"/>
   
   </xsl:stylesheet>
  
  
  

Reply via email to