atom feed15 messages in org.oasis-open.lists.docbook-appsRe: [docbook-apps] declaring document...
FromSent OnAttachments
Jens PorupFeb 17, 2005 9:26 pm 
Bob StaytonFeb 18, 2005 10:44 am 
Jens PorupFeb 22, 2005 7:25 pm 
John L. ClarkFeb 22, 2005 7:56 pm.pgp
Jens PorupFeb 22, 2005 8:09 pm 
John L. ClarkFeb 22, 2005 8:39 pm.pgp
Jens PorupFeb 22, 2005 8:42 pm 
Jens PorupFeb 22, 2005 9:08 pm 
Bob StaytonFeb 22, 2005 11:27 pm 
Jens PorupFeb 23, 2005 5:49 pm 
Bob StaytonFeb 23, 2005 6:12 pm 
Jens PorupFeb 23, 2005 10:01 pm 
Bob StaytonFeb 23, 2005 11:18 pm 
Jens PorupFeb 24, 2005 6:03 pm 
Bob StaytonFeb 25, 2005 12:51 pm 
Subject:Re: [docbook-apps] declaring document id's
From:Jens Porup (je@porup.com)
Date:Feb 23, 2005 5:49:01 pm
List:org.oasis-open.lists.docbook-apps

On Tue, Feb 22, 2005 at 11:27:26PM -0800, Bob Stayton wrote:

Hi Jens, XIncludes are not generally a problem with olinking. In fact, that combination is often used for modular content files.

Olinking is not automatic. It requires some careful set up, and some attention to using the parameters to make sure the olink data is available at processing time. For example, your command line does not specify a target.database.document parameter. I suggest you read through this doc and carefully follow the steps.

http://www.sagehill.net/docbookxsl/Olinking.html#LinkBetweenDocs

Step 1:

Decide which documents are to be included in the domain for cross referencing, and assign a document id to each. A document id is a name string that is unique for each document in your collection. Your naming scheme can be as simple or elaborate as your needs require.

I have google'd extensively on this, and for the life of me I cannot find any information on how to declare a "document id".

both

<document id="MyDoc">

and

<document id="MyDoc"/>

fail in xmllint.

<book id="MyDoc">

parses correctly, but I'm not sure yet whether it is correctly pointing to the right document.

Can you clarify this? (It seems like such a simple thing, but it isn't clear to me at all.)

Jens