Author: thorsten
Date: Wed Mar 1 13:42:34 2006
New Revision: 382168
URL: http://svn.apache.org/viewcvs?rev=382168&view=rev
Log:
refactoring abstract to return at least a div and not an empty document
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-authors.xsl
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-authors.xsl
URL:
http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-authors.xsl?rev=382168&r1=382167&r2=382168&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-authors.xsl
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-authors.xsl
Wed Mar 1 13:42:34 2006
@@ -25,13 +25,12 @@
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/authors">
+ <div id="content-authors">
<xsl:apply-templates select="header/authors"/>
- </xsl:if>
+ </div>
</xsl:template>
<xsl:template match="header/authors">
<xsl:if test="person">
- <div id="content-authors">
<xsl:for-each select="person">
<div class="author">
<div class="name">
@@ -42,7 +41,6 @@
</div>
</div>
</xsl:for-each>
- </div>
</xsl:if>
</xsl:template>
</xsl:stylesheet>