forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r357297 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/xml/document-to-abstract.xsl
Date Sat, 17 Dec 2005 05:17:26 GMT
Author: thorsten
Date: Fri Dec 16 21:17:20 2005
New Revision: 357297

URL: http://svn.apache.org/viewcvs?rev=357297&view=rev
Log:
Prevented that an empty document will return.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/xml/document-to-abstract.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/xml/document-to-abstract.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/xml/document-to-abstract.xsl?rev=357297&r1=357296&r2=357297&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/xml/document-to-abstract.xsl
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/xml/document-to-abstract.xsl
Fri Dec 16 21:17:20 2005
@@ -25,10 +25,8 @@
         Table of Contents for the document.  This will then be used
         by the site2xhtml to generate a Menu ToC and a Page ToC -->
   <xsl:template match="document">
-    <xsl:if test="header/abstract">
-      <div class="abstract">
-        <xsl:value-of select="header/abstract"/>
-      </div>
-    </xsl:if>
+    <div class="abstract">
+      <xsl:value-of select="header/abstract"/>
+    </div>
   </xsl:template>
 </xsl:stylesheet>



Mime
View raw message