This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Some questions on FO XSLT


> From: wongkokwai@asia1.com
> 
> I'm using Xalan-J and FOP to generate the PDF from DocBook
> documents and have the following questions/feedback:
> 
> 1) I'm using <link linkend="...">. The following error message appears:
> 
> file:///c:/docbook-xsl-1.44/common/common.xsl; Line 943;
> Column 20; Error: no ID for constraint linkend: c09s16.
> 
> However, the links in the PDF document seems to work. Why
> the error message?

Well, normally this message means the ID value specified in
the linkend attribute does not appear in the document you
are processing.  I notice from the message that the linkend value
is "c09s16".  Is there an element with that ID in your document?
That looks a lot like a filename generated by the HTML
chunking stylesheet when an element doesn't have an ID.  8^)

I'd be surprised if that particular link worked if it can't
find the ID it is pointing to.  Can you provide more
details?
 
> 2) I've tried <link endterm="..."> but the generation
> always crash with a message saying "ID not found". I'm not
> sure whether the problem lies with the FO XSLT, Xalan-J or
> FOP. Any idea?

Can you provide more details of what the endterm value is?
The endterm attribute copies the text of the element it
points to as the cross reference text.
If you are pointing to a large element, it is trying
to copy that whole large element.  Also, that link
still needs a linkend to work.
 
> 3) Anybody got a good looking Table of Contents generated
> using FOP? I'm still having problem getting the leader
> appearing although it is the FO file.

I haven't got it working either.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]