dion 02/01/20 21:06:10
Modified: latka/xsl/site docbook2document.xsl
Log:
Fixed author/email problems
Revision Changes Path
1.5 +5 -2 jakarta-commons/latka/xsl/site/docbook2document.xsl
Index: docbook2document.xsl
===================================================================
RCS file: /home/cvs/jakarta-commons/latka/xsl/site/docbook2document.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- docbook2document.xsl 21 Jan 2002 03:44:06 -0000 1.4
+++ docbook2document.xsl 21 Jan 2002 05:06:10 -0000 1.5
@@ -2,7 +2,7 @@
<!--
Author: (insert avalon author here)
Author: dIon Gillard
- Version: $Id: docbook2document.xsl,v 1.4 2002/01/21 03:44:06 dion Exp $
+ Version: $Id: docbook2document.xsl,v 1.5 2002/01/21 05:06:10 dion Exp $
FIXME: Doesn't handle attributes of informaltable, book xsl template
is broken
-->
@@ -52,9 +52,12 @@
</xsl:if>
</title>
<xsl:for-each select="//authorgroup/author">
- <author email="{address/email}">
+ <author email="{affiliation/address/email}">
<xsl:if test="honorific"><xsl:value-of
select="honorific"/>. </xsl:if>
- <xsl:if test="firstname"><xsl:value-of select="firstname"/>
</xsl:if>
+ <xsl:if test="firstname">
+ <xsl:value-of select="firstname"/>
+ <xsl:text> </xsl:text>
+ </xsl:if>
<xsl:value-of select="surname"/>
</author>
</xsl:for-each>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>