svn commit: r591259 - /lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
[email protected] Fri, 02 Nov 2007 08:41:56 -0000
Newsgroups
gmane.comp.cms.lenya.cvs
Message-ID
<[email protected] >
Author: andreas
Date: Fri Nov 2 01:41:56 2007
New Revision: 591259
URL: http://svn.apache.org/viewvc?rev=591259&view=rev
Log:
Improved layout
Modified:
lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
Modified: lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl?rev=591259&r1=591258&r2=591259&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl Fri Nov 2 01:41:56 2007
@@ -128,16 +128,14 @@
</xsl:template>
- <xsl:template match="warning|note">
+ <xsl:template match="warning|note|fixme">
+ <div class="{local-name()}Title">
+ <xsl:value-of select="local-name()"/>
+ <xsl:if test="self::fixme">
+ (author: <xsl:value-of select="@author"/>)
+ </xsl:if>
+ </div>
<p class="{local-name()}">
- <xsl:apply-templates/>
- </p>
- </xsl:template>
-
-
- <xsl:template match="fixme">
- <p class="{local-name()}">
- <span class="paragraphType">FixMe (author: <xsl:value-of select="@author"/>): </span>
<xsl:apply-templates/>
</p>
</xsl:template>