Hi,
1) If I understand your setup, then one target.db file for the main document. You don't create target.db files for chapters that are xincluded.

2) The targetdoc attribute is independent of the xml id of the root element of a document, and independent of the filename. You can use whatever string you like, as long as the targetdoc attribute value in your olink elements matches the targetdoc attribute value in the <document> element in the olinkdb.xml file.

But like I said, if you have only a single document in your olinkdb.xml (the main document in your case), then you can skip targetdoc altogether. If you have multiple main documents, then you must use targetdoc.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Faehndrich Philippe" <[email protected]>
To: <[email protected]>
Sent: Tuesday, January 13, 2009 6:37 AM
Subject: [docbook-apps] Docbook 5 and olink - again


Hello,

Sorry, I still don't understand.

1) Should I have a single target.db file at the start of my project hierarchy (where my main document is, which includes other documents), or should I have
one target.db file in each subdirectory of my project?

2) Can the targetdoc attribute of olink just be the xml id of the other
document? or should it be the name of my xml file, with or without the
relative path? or should it be the name of the generated html chunk? and the
targetptr?

Thanks for your answers ...and patience.

Ph. Faehndrich


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to