cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: xml-cocoon2/webapp/stylesheets simple-samples2html.xsl
Date Fri, 14 Dec 2001 12:30:45 GMT
froehlich    01/12/14 04:30:45

  Modified:    webapp/stylesheets Tag: cocoon_20_branch
                        simple-samples2html.xsl
  Log:
  Applied patch from Nicola Ken Barozzi [barozzi@nicolaken.com]
  stylesheets changed to look good in Mozilla as in IE.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +22 -3     xml-cocoon2/webapp/stylesheets/simple-samples2html.xsl
  
  Index: simple-samples2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/stylesheets/simple-samples2html.xsl,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- simple-samples2html.xsl	2001/09/26 13:11:34	1.2.2.1
  +++ simple-samples2html.xsl	2001/12/14 12:30:45	1.2.2.2
  @@ -1,5 +1,5 @@
   <?xml version="1.0"?>
  -
  +<!-- Author: Nicola Ken Barozzi "barozzi@nicolaken.com" -->
   <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink">
   
    <xsl:template match="/">
  @@ -38,7 +38,12 @@
         <xsl:variable name="current-sample" select="1 + count(../group[position() &lt;=
$group-position]/sample)"/>
         <xsl:choose>
          <xsl:when test="$current-sample &lt;= $half-samples">
  -        <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" width="97%"
align="center">
  +       <table border="0" bgcolor="#000000" cellpadding="0" cellspacing="0" width="97%">
  +        <tbody>
  +         <tr>
  +          <td>
  +      
  +        <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" align="center"
width="100%">
            <tr>
             <td bgcolor="#0086b2" width="100%" align="left">
              <font size="+1" face="arial,helvetica,sanserif" color="#ffffff"><xsl:value-of
select="@name"/></font>
  @@ -52,6 +57,12 @@
             </td>
            </tr>
           </table>
  +        
  +          </td>
  +         </tr>        
  +         </tbody>
  +        </table>
  +        
           <br/>
          </xsl:when>
          <xsl:otherwise></xsl:otherwise>
  @@ -64,7 +75,11 @@
         <xsl:variable name="current-sample" select="1 + count(../group[position() &lt;=
$group-position]/sample)"/>
         <xsl:choose>
          <xsl:when test="not($current-sample &lt;= $half-samples)">
  -        <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" width="97%"
align="center">
  +       <table border="0" bgcolor="#000000" cellpadding="0" cellspacing="0" width="97%">
  +        <tbody>
  +         <tr>
  +          <td>       
  +        <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" align="center"
width="100%">
            <tr>
             <td bgcolor="#0086b2" width="100%" align="left">
              <font size="+1" face="arial,helvetica,sanserif" color="#ffffff"><xsl:value-of
select="@name"/></font>
  @@ -77,6 +92,10 @@
              </table>
             </td>
            </tr>
  +        </table>
  +         </td>
  +         </tr>        
  +         </tbody>
           </table>
           <br/>
          </xsl:when>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message