forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r795782 - /forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook-to-document.xsl
Date Mon, 20 Jul 2009 11:52:36 GMT
Author: rgardler
Date: Mon Jul 20 11:52:36 2009
New Revision: 795782

URL: http://svn.apache.org/viewvc?rev=795782&view=rev
Log:
ignore elements that only contain white space

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook-to-document.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook-to-document.xsl?rev=795782&r1=795781&r2=795782&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook-to-document.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook-to-document.xsl
Mon Jul 20 11:52:36 2009
@@ -333,9 +333,11 @@
     </document>
   </xsl:template>
   <xsl:template match="para">
+    <xsl:if test="normalize-space(.)">
     <p>
       <xsl:apply-templates/>
     </p>
+    </xsl:if>
   </xsl:template>
   <xsl:template match="emphasis">
     <xsl:choose>



Mime
View raw message