tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/webapp/docs style.xsl
Date Mon, 13 May 2002 00:19:21 GMT
pier        02/05/12 17:19:21

  Modified:    webapp/docs style.xsl
  Log:
  Added the <img/> tag.
  
  Revision  Changes    Path
  1.5       +10 -1     jakarta-tomcat-connectors/webapp/docs/style.xsl
  
  Index: style.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/docs/style.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- style.xsl	10 May 2002 23:44:50 -0000	1.4
  +++ style.xsl	13 May 2002 00:19:21 -0000	1.5
  @@ -224,7 +224,7 @@
           </tr>
         </table>
       </a>
  -    <xsl:apply-templates select="p|screen|todo"/>
  +    <xsl:apply-templates select="p|img|screen|todo"/>
       <br/>
     </xsl:template>
   
  @@ -248,6 +248,15 @@
   
     <xsl:template match="br">
       <br/>
  +  </xsl:template>
  +
  +  <xsl:template match="img">
  +    <p>
  +      <div align="center">
  +        <xsl:value-of select="@alt"/><br/>
  +        <img src="{@src}" alt="{@alt}" vspace="0" hspace="0" border="0"/>
  +      </div>
  +    </p>
     </xsl:template>
   
     <!-- JFC added -->
  
  
  

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


Mime
View raw message