]> granicus.if.org Git - docbook-dsssl/commitdiff
Support finding glossary database entries inside bibliodivs.
authorBob Stayton <bobs@sagehill.net>
Thu, 27 Sep 2007 16:10:31 +0000 (16:10 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 27 Sep 2007 16:10:31 +0000 (16:10 +0000)
xsl/fo/biblio.xsl

index 0212fada06e4b9a9c762e99fbb9dc6736d42fdbe..04a8310e79d9879f18e4d8244a47a2bee3520c87 100644 (file)
   <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">