This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] olink to a document only
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Yan Bilik" <yan dot bilik at wanadoomaps dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 12 Mar 2004 10:34:17 -0800
- Subject: Re: [docbook-apps] olink to a document only
- References: <F78D3A2EED847248852E80B6D4F1AB9521C54C@miami.snv.fr>
You are correct, you can't point to just the document currently.
I think there is only one situation where omitting the targetptr attribute
would work. If the baseuri of that <document> element in the olink database
file ends in .html or .htm, then it could be used alone. Otherwise I think
the stylesheet should still generate an error because it would not have
enough information to resolve the link. For example, a baseuri for chunked
output would more likely be a directory name, and one cannot assume that an
index.html will be there.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Yan Bilik" <yan.bilik@wanadoomaps.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, March 12, 2004 1:16 AM
Subject: [docbook-apps] olink to a document only
Hello,
Is there a way to create an olink to a document but *not* to a specific
part of it.
I would like to write something like:
<olink targetdoc="idref">See reference doc</olink>
So I would get:
<a href="../refdocs/ref.html">See reference doc</a>
I do not want to point to a specific anchor into the document. But not
setting the targetptr attribute (or setting it to an empty string) leads
to errors.
Any idea ?
Yan Bilik
To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.