You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/11/02 09:41:56 UTC

svn commit: r591259 - /lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl

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>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org