]> granicus.if.org Git - docbook-dsssl/commitdiff
Changed document($bibliography.collection)
authorBob Stayton <bobs@sagehill.net>
Tue, 30 Dec 2003 18:41:06 +0000 (18:41 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 30 Dec 2003 18:41:06 +0000 (18:41 +0000)
to document($bibliography.collection,.) so it will
look in the current directory instead of
the stylesheet directory.

xsl/fo/biblio.xsl
xsl/fo/xref.xsl
xsl/html/biblio.xsl
xsl/html/xref.xsl

index c586466856403bb9a69f474abe9a57c2e8dba1c1..046e2bfed5d859584f9aa4590d4fe80683da31f2 100644 (file)
   <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
   <xsl:choose>
     <xsl:when test="string(.) = ''">
-      <xsl:variable name="bib" select="document($bibliography.collection)"/>
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
       <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/>
       <xsl:choose>
         <xsl:when test="$entry">
   <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
   <xsl:choose>
     <xsl:when test="string(.) = ''">
-      <xsl:variable name="bib" select="document($bibliography.collection)"/>
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
       <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/>
       <xsl:choose>
         <xsl:when test="$entry">
index 6f7df6af453aa5e27dce8efe088ae3c090889739..a669587fd65b3f3c97a7d53c758586b2708066b4 100644 (file)
   <xsl:text>[</xsl:text>
   <xsl:choose>
     <xsl:when test="string(.) = ''">
-      <xsl:variable name="bib" select="document($bibliography.collection)"/>
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
       <xsl:variable name="id" select="@id"/>
       <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/>
       <xsl:choose>
index c66f373e0fdb37c83e3da755d7b88f7f954b5788..58a207046f06987e2da7616d605fddaaa080a29f 100644 (file)
@@ -78,7 +78,7 @@
 
   <xsl:choose>
     <xsl:when test="string(.) = ''">
-      <xsl:variable name="bib" select="document($bibliography.collection)"/>
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
       <xsl:variable name="entry" select="$bib/bibliography/*[@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="bib" select="document($bibliography.collection,.)"/>
       <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/>
       <xsl:choose>
         <xsl:when test="$entry">
index aeef08a72dbb71519b65f9212462782accb56fcb..449e9f5c639eca724717bbd9aa2341a3727587a8 100644 (file)
   <!-- handles both biblioentry and bibliomixed -->
   <xsl:choose>
     <xsl:when test="string(.) = ''">
-      <xsl:variable name="bib" select="document($bibliography.collection)"/>
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
       <xsl:variable name="id" select="@id"/>
       <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/>
       <xsl:choose>