OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: <bibliodiv> problem

Title: <bibliodiv> problem
I am using a bibliography database as outlined in:
Bob Stayton, "DocBook XSL: The Complete Guide", Chapter 13, page 226
My only difference is that I am using <bibliodiv> in my database file.
I find that when I have bibliodivs  the references are unresolved.  When the bibliodivs are removed, then references are resolved OK .
With the files below, Saxon 6.5.5 and XEP 4.9, Oxygen 8.2 and Docbook 5.0/docbook-xsl-ns-1.73.2/fo/docbook.xsl, I get "Error: no bibliography entry: ANDERSON69 found in full_bib.xml" in the References section of the PDF document.  When I comment out the bibliodiv wrapper the references are resolved OK and appear in the PDF.

(Although I find no reference to <bibliodiv> in Bob's book, it is there in http://www.docbook.org/tdg5/en/html/docbook.html - and the earlier versions for 4.x)

Is this behavior intentional, or is it an error or omission?


File: bib_test.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE article>
<article  xml:id="Bib_test" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN">
<info><title>Test bibliodiv</title></info>
<xi:include href="sect.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<xi:include href="test_bib.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
File: sect.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE section>
<section xml:id="Sect" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN">
<info><title>Title of Section</title></info>
<para>1 2 3 4 5 <biblioref linkend="ANDERSON69"/> 6 7 8 9 10</para>
File: test_bib.xml
<?xml version="1.0" encoding="UTF-8" ?> 
<!DOCTYPE bibliography>
<bibliography xml:id="Test_bib" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN" >
<bibliomixed xml:id="ANDERSON69"/>
File: testarticlebib.xsl
<?xml version="1.0" encoding="UTF-8"?>
  <xsl:import href="/Applications/Utilities/oxygen/8.2/oxygen/frameworks/docbook/5.0/docbook-xsl-ns-1.73.2/fo/docbook.xsl"/>
<xsl:param name="bibliography.collection" select="'full_bib.xml'"/>
<xsl:param name="xep.extensions" select ="1"/>
File: full_bib.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE bibliography>
<bibliography xml:id="All" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN">
  <bibliodiv xml:id="Div">
    <biblioentry xml:id="ANDERSON69">
<biblioset xml:relation="book">
<editor><personname><firstname>J</firstname><othername xml:role="middle">J</othername><surname>Anderson</surname></personname></editor>
<publishername>Manchester University Press</publishername>
Ron Catterall, Phd, DSc                         email: ron@catterall.net
Prolongacion de Hidalgo 140                             http://catterall.net/
San Felipe del Agua                                        tel: +52 951 520 1821
Oaxaca      68020  Mexico                          fax: +1 530 348 8309

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]