cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/webapp/samples/i18n simple2page.xsl
Date Tue, 09 Dec 2003 21:35:36 GMT
vgritsenko    2003/12/09 13:35:36

  Modified:    src/webapp/samples/i18n simple2page.xsl
  Log:
  resurrect attribute translation samples
  
  Revision  Changes    Path
  1.2       +15 -0     cocoon-2.1/src/webapp/samples/i18n/simple2page.xsl
  
  Index: simple2page.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/i18n/simple2page.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- simple2page.xsl	10 May 2003 11:34:09 -0000	1.1
  +++ simple2page.xsl	9 Dec 2003 21:35:36 -0000	1.2
  @@ -48,6 +48,21 @@
       <xsl:apply-templates select="menu"/>
     </xsl:template>
   
  +  <xsl:template match="para">
  +    <p>
  +      <font color="navy">
  +        <b>
  +          <xsl:number format="0. "/>
  +          <xsl:value-of select="@name"/>
  +        </b>
  +        <xsl:text> </xsl:text>
  +        <xsl:value-of select="@title"/>
  +      </font>
  +      <br/>
  +      <xsl:apply-templates select="text() | strong"/>
  +    </p>
  +  </xsl:template>
  +
     <!-- Current (open) menu -->
     <xsl:template match="menu">
       <xsl:if test="@icon">
  
  
  

Mime
View raw message