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] | [Elist Home]

Subject: Re: Re: DOCBOOK-APPS: Some questions on FO XSLT


Attached is a test file to illustrate my point about using endterm. First, DocBook XSL shows a
n error message:

file:///c:/docbook-xsl-1.44/fo/xref.xsl; Line 290; Column 30; 0Endterm points to
 nonexistent ID: c02_title

But the ID does exists.

And then FOP crashes due to, I guess, incorrectly generated FO file.

I hope this will give you more clue.


---- Begin Original Message ----
 From: Bob Stayton <bobs@caldera.com>
Sent: Wed, 22 Aug 2001 18:11:11 PDT
To: docbook-apps@lists.oasis-open.org, wongkokwai@asia1.com
Subject: Re: DOCBOOK-APPS: 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

> 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.

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

---- End Original Message ----

For the latest news, go to http://www.asiaone.com
And get your free AsiaOne email account and home page


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

Powered by eList eXpress LLC