[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] <bibliodiv> problem
Hi Ron,
I don't think it was intentional. In fact, a tiny change in the selection path from bibliography/* to bibliography//* should fix it. I'll check that in and you can try out the next snapshot.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----From: Ron CatterallTo: docbook-apps@lists.oasis-open.orgSent: Thursday, September 27, 2007 7:11 AMSubject: [docbook-apps] <bibliodiv> problemI am using a bibliography database as outlined in:Bob Stayton, "DocBook XSL: The Complete Guide", Chapter 13, page 226My 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?RonFile: 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>
</article>
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>
</section>
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" >
<info><title>References</title></info>
<bibliomixed xml:id="ANDERSON69"/>
</bibliography>
File: testarticlebib.xsl<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl"><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"/>
</xsl:stylesheet>
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"><info><title/></info><bibliodiv xml:id="Div"><biblioentry xml:id="ANDERSON69">
<abbrev>ANDERSON69</abbrev>
<biblioset xml:relation="book">
<editor><personname><firstname>J</firstname><othername xml:role="middle">J</othername><surname>Anderson</surname></personname></editor>
<citetitle>Patience</citetitle>
<pubdate>(1969)</pubdate>
<publisher>
<publishername>Manchester University Press</publishername></publisher>
</biblioset></biblioentry></bibliodiv></bibliography>
--Ron Catterall, Phd, DScemail: ron@catterall.net
Prolongacion de Hidalgo 140http://catterall.net/
San Felipe del Aguatel: +52 951 520 1821 Oaxaca 68020Mexico fax: +1 530 348 8309 --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]