]> granicus.if.org Git - docbook-dsssl/commitdiff
Add support in biblio collection to entries in bibliodivs.
authorBob Stayton <bobs@sagehill.net>
Thu, 27 Sep 2007 16:22:44 +0000 (16:22 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 27 Sep 2007 16:22:44 +0000 (16:22 +0000)
xsl/html/biblio.xsl

index 61fbf1950ae16be0fd5339bba7b218f934fad9f7..428fafb7edfa59739698782bd94954e4d547563f 100644 (file)
@@ -95,7 +95,7 @@
   <xsl:choose>
     <xsl:when test="string(.) = ''">
       <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
-      <xsl:variable name="entry" select="$bib/bibliography/
+      <xsl:variable name="entry" select="$bib/bibliography//
                                          *[@id=$id or @xml:id=$id][1]"/>
       <xsl:choose>
         <xsl:when test="$entry">
   <xsl:choose>
     <xsl:when test="string(.) = ''">
       <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
-      <xsl:variable name="entry" select="$bib/bibliography/
+      <xsl:variable name="entry" select="$bib/bibliography//
                                          *[@id=$id or @xml:id=$id][1]"/>
       <xsl:choose>
         <xsl:when test="$entry">