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: Website olink database problem


Hi Bob,

Thanks - that has fixed the problem of the disappearing links.

However, with empty olinks I now get errors:

        Olink error: no generated text for targetdoc/targetptr/lang = '  
'.

The database file clearly has got generated text, so I guess that again  
it is a stylesheet issue. Olinks with content work OK.


Best wishes,

Nick.



On 31 Jan 2005, at 7:24 am, Bob Stayton wrote:

> This is a known bug (#1072576) introduced when olinks were rewritten in
> DocBook XSL version 1.66.1.  The report also has a small patch that  
> works:
>
> http://sourceforge.net/tracker/index.php? 
> func=detail&aid=1072576&group_id=21935&atid=384108
>
> I think Website is due for a new release.  8^)
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
>
>
> ----- Original Message -----
> From: "Nick Hunt" <nick@magmouse.co.uk>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Sunday, January 30, 2005 1:57 PM
> Subject: [docbook-apps] Website olink database problem
>
>
>> Hi,
>>
>> I am trying out Website for the first time, and have a problem with
>> getting the olink mechanism to work.
>>
>> I am creating olinks of the form:
>>
>>       <olink targetdoc="home" targetptr="home"/>
>>
>> I have set the collect.xref.targets parameter:
>>
>>      <xsl:param name="collect.xref.targets" select="'yes'"/>
>>
>> Building the autolayout.xml file works OK, and I get what seems to be  
>> a
>> reasonable website.database.xml file.
>>
>> Building the final output gives errors of the form:
>>
>>      Olink error: targetptr "home" not found for targetdoc "home".
>>      details: targetptr "home" not found for website targetdoc "home".
>>
>> The database file includes the line:
>>
>>      <document targetdoc="home" baseuri="index.html"><div
>> element="webpage" href="#home" number="" targetptr="home"><ttl>Welcome
>> to Website</ttl><xreftext>Welcome to Website</xreftext><obj
>> element="para" href="#para-first" number=""
>> targetptr="para-first"><ttl>???TITLE???</ttl><xreftext/></obj></div></
>> document>
>>
>>
>> I am using xsl stylesheets version 1.67.2, Website 2.5.1, xsltproc
>> built with libxml2 version 2.6.15 and libxslt version 1.1.12.
>>
>> Any thoughts?
>>
>> TIA.
>>
>> Best wishes,
>>
>> Nick.
>>
>> __________________________
>> Nick Hunt
>> nick@magmouse.co.uk
>>
>>
>>
>
>
>
> -- 
> This email has been verified as Virus free
> Virus Protection and more available at http://www.plus.net
>
>
__________________________
Nick Hunt
nick@magmouse.co.uk



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