forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r106583 - /forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl
Date Thu, 25 Nov 2004 17:51:28 GMT
Author: rgardler
Date: Thu Nov 25 09:51:27 2004
New Revision: 106583

URL: http://svn.apache.org/viewcvs?view=rev&rev=106583
Log:
copy over class attribute of p elements
Modified:
   forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl?view=diff&rev=106583&p1=forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl&r1=106582&p2=forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl&r2=106583
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl	(original)
+++ forrest/trunk/main/webapp/resources/stylesheets/html2document.xsl	Thu Nov 25 09:51:27
2004
@@ -139,6 +139,9 @@
       
     <xsl:template match="P|p">
         <p>
+          <xsl:if test="@class">
+            <xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute>

+          </xsl:if>
           <xsl:apply-templates/>
         </p>
     </xsl:template>

Mime
View raw message