forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdupoiri...@apache.org
Subject svn commit: r452870 - /forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl
Date Wed, 04 Oct 2006 12:14:25 GMT
Author: cdupoirieux
Date: Wed Oct  4 05:14:24 2006
New Revision: 452870

URL: http://svn.apache.org/viewvc?view=rev&rev=452870
Log:
Take into account of paragraphs included before the first section...

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl?view=diff&rev=452870&r1=452869&r2=452870
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl (original)
+++ forrest/trunk/main/webapp/resources/stylesheets/html-to-document.xsl Wed Oct  4 05:14:24
2006
@@ -66,6 +66,8 @@
     <!--infer structure from sibling headings-->
     <xsl:template match="body">
        <body>
+       <!-- some paragraphs may be included before the first title... -->
+       <xsl:apply-templates select="*[1]" mode="next"/>
         <xsl:choose>
           <xsl:when test="h1">
             <xsl:call-template name="process_h1"/>



Mime
View raw message