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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Thu Nov  1 10:28:05 2007
New Revision: 591094

URL: http://svn.apache.org/viewvc?rev=591094&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=591094&r1=591093&r2=591094&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl Thu Nov  1 10:28:05 2007
@@ -102,25 +102,51 @@
     </b>
     <xsl:text> </xsl:text>
   </xsl:template>
+  
+  
   <xsl:template match="anchor"><a name="{@name}">
     <xsl:apply-templates/></a>
   </xsl:template>
+  
+  
   <!-- <xsl:template match="table">
     <table border="1" cellspacing="3" cellpadding="3">
     <xsl:apply-templates/>
     </table>
     </xsl:template> -->
+  
+  
   <xsl:template match="para">
     <p>
       <xsl:apply-templates/>
     </p>
   </xsl:template>
+  
+  
   <xsl:template match="figure">
-    <img src="{@src}" alt=""/>
+    <img src="{@src}" alt="{@title}"/>
   </xsl:template>
+  
+  
+  <xsl:template match="warning|note">
+    <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>
+  
+  
   <xsl:template match="*|@*|node()|text()" priority="-1">
     <xsl:copy>
       <xsl:apply-templates select="*|@*|node()|text()"/>
     </xsl:copy>
   </xsl:template>
+  
 </xsl:stylesheet>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.