]> granicus.if.org Git - docbook-dsssl/commitdiff
Authorgroup handling fixed. Problem:: Content of Authorgroup was
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 10 Mar 2006 08:52:59 +0000 (08:52 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 10 Mar 2006 08:52:59 +0000 (08:52 +0000)
not getting output. Cause:: Oversight in XPath expression caused
Author and friends to be found only if they were direct children
of *info. Fix:: Updated XPath expression to check for all Author
etc. descendants, not just direct children.

Closes bug #1447026. Thanks to Daniel Leidert for reporting.

xsl/manpages/info.xsl

index 3cf6fc31fc07626ab2c517b4e0e799b395c1e82a..09403b47bedd63a43e8206a8e521d85fad0422d8 100644 (file)
@@ -95,7 +95,7 @@
     </xsl:call-template>
     <xsl:text>"&#10;</xsl:text>
 
-    <xsl:for-each select="author|editor|othercredit">
+    <xsl:for-each select=".//author|.//editor|.//othercredit">
       <xsl:apply-templates select="." mode="authorsect"/>
     </xsl:for-each>