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: Re: Stylesheets can't find bibliography collection


Hi Bob,

All my other catalog stuff works fine, so I don't think it is that.

In any case, I only tried to reference the bibliography collection  
through a catalog entry when it would work with a direct file  
reference, e.g. :

<xsl:param  
name="bibliography.collection">biblio_database.xml</xsl:param>

After a bit more experimenting, I find that the stylesheets are always  
using the value of the bibliography parameter relative to the folder  
the stylesheet is in. Thus with the above parameter value, I need to  
put the file in the HTML folder of the stylesheets (for HTML build).

This is true irrespective of whether the path given is relative (as  
above) or absolute, as in:

<xsl:param  
name="bibliography.collection">/Users/nhunt/Documents/PhD_stuff/html/ 
xml/bibliography/biblio_database.xml</xsl:param>


Another datum: if I override the bibliography template in my style  
sheet driver, then it looks for the collection file relative to where  
my driver file is.

I presume that the correct behaviour would be for the stylesheet to  
look for the collection file relative to where the docbook document  
being processed is. Do other people see this?


Best wishes,

Nick.


On 30 Dec 2003, at 5:08 pm, Bob Stayton wrote:

> Using a catalog to resolve a bibliography collection is
> known to work with xsltproc 1.1.1 (I don't have
> 1.1.0 anymore).
>
> Most likely
> this is a catalog resolution problem.  Do other catalog
> entries work?  Have you turned on catalog debugging
> by setting XML_DEBUG_CATALOG=1 environment
> variable?  Does it report a match?  What do your
> catalog entries look like?
>
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net
>
>
> ----- Original Message -----
> From: "Nick Hunt" <nick@magmouse.demon.co.uk>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Tuesday, December 30, 2003 7:41 AM
> Subject: [docbook-apps] Stylesheets can't find bibliography collection
>
>
>> Hi,
>>
>> I am trying to use the bibliography collection mechanism in the XSL
>> stylesheets. I get errors of the form:
>>
>> warning: failed to load external entity
>> "http://www.dummy.org/biblio_database.xml";
>> No bibliography entry: AustinHowToDoThingsWithWords found in
>> http://www.dummy.org/biblio_database.xml
>>
>> My stylesheet contains:
>>
>> <xsl:param
>> name="bibliography.collection">http://www.dummy.org/
>> biblio_database.xml</xsl:param>
>>
>> And my catalogue resolves http://www.dummy.org/biblio_database.xml to
>> the local file biblio_database.xml which contains the bibliography.
>>
>> I have tried using absolute and relative paths, as well as the URL
>> shown above, in the bibliography.collection parameter, with the same
>> result.
>>
>> I am using XSL stylesheets 1.64.1 (HTML), xsltproc 1.1.0.
>>
>>
>> Any thoughts, anyone?
>>
>>
>> Many thanks,
>>
>> Nick.
>>
>> ----------------------------------------
>> Nick Hunt
>> nick@magmouse.demon.co.uk
>>
>>
>> To unsubscribe from this list, send a post to
> docbook-apps-unsubscribe@lists.oasis-open.org, or visit
> http://www.oasis-open.org/mlmanage/.
>>
>>
>
>
> To unsubscribe from this list, send a post to  
> docbook-apps-unsubscribe@lists.oasis-open.org, or visit  
> http://www.oasis-open.org/mlmanage/.
>
>
----------------------------------------
Nick Hunt
nick@magmouse.demon.co.uk



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