Next in thread → Next in month →

Re: [docbook-apps] olink to a document only

From
Bob Stayton <>
Date
2004-03-12T18:20:18+00:00
ID
0aa801c40860$a4281770$6501a8c0@toshiro
Thread
Re: [docbook-apps] olink to a document only
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



----- Original Message ----- 
From: "Yan Bilik" <>
To: <>
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
, or visit
http://www.oasis-open.org/mlmanage/.
Next in thread → Next in month →