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/01 18:28:08 UTC

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

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>



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