forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r162062 - /forrest/trunk/main/webapp/resources/stylesheets/howto2document.xsl
Date Wed, 20 Apr 2005 20:23:26 GMT
Author: rgardler
Date: Wed Apr 20 13:23:25 2005
New Revision: 162062

URL: http://svn.apache.org/viewcvs?rev=162062&view=rev
Log:
Don't include header when applying templates to the body (FOR-485, thanks to Mark Eggers)

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/howto2document.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/howto2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/stylesheets/howto2document.xsl?rev=162062&r1=162061&r2=162062&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/howto2document.xsl (original)
+++ forrest/trunk/main/webapp/resources/stylesheets/howto2document.xsl Wed Apr 20 13:23:25
2005
@@ -27,7 +27,7 @@
     <document>
       <xsl:copy-of select="header"/>
       <body>
-        <xsl:apply-templates/>
+        <xsl:apply-templates select="*[not(name()='header')]"/>
       </body>
     </document>
   </xsl:template>



Mime
View raw message