cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/samples/rss rss-html.xsl
Date Sun, 26 Mar 2000 13:19:28 GMT
stefano     00/03/26 05:19:28

  Modified:    samples/rss rss-html.xsl
  Log:
  removed css for more uniform visibility
  
  Revision  Changes    Path
  1.2       +2 -9      xml-cocoon/samples/rss/rss-html.xsl
  
  Index: rss-html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/rss/rss-html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- rss-html.xsl	2000/03/25 12:47:41	1.1
  +++ rss-html.xsl	2000/03/26 13:19:28	1.2
  @@ -4,24 +4,17 @@
   
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
  - <xsl:template match="rss">
  -  <xsl:apply-templates select="channel"/>
  - </xsl:template>
  -
    <xsl:template match="channel">
     <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>
     <html>
   
      <head>
       <title><xsl:value-of select="title"/></title>
  -    <style type="text/css">
  -     dd { margin-bottom: 20pix; }
  -    </style>
      </head>
       
      <body bgcolor="white">
  -    <h1><xsl:value-of select="title"/></h1>
  -    <p><xsl:value-of select="description"/></p>
  +    <h1 align="center"><xsl:value-of select="title"/></h1>
  +    <h3 align="center"><xsl:value-of select="description"/></h3>
       <dl>
        <xsl:apply-templates select="item"/>
       </dl>
  
  
  

Mime
View raw message