Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Infocenter: link to an anchor in another plugin goes to top of file (How to link to an xml:id in another plugin?)
Infocenter: link to an anchor in another plugin goes to top of file [message #658570] Tue, 08 March 2011 22:13 Go to previous message
Maria R is currently offline Maria R
Messages: 3
Registered: March 2011
Junior Member
Docbook 5, Eclipse 3.4.2, Infocenter

Can link from one help plugin to a file in another help plugin, but NOT to an IDREF in the file.

Tried 2 approaches to get this working so far.

from Docbook:

xlink:href="PLUGINS_ROOT/plugin.id.here/file.html#foo"
xlink:href="PLUGINS_ROOT/plugin.id.here/file.html%23foo"

to HTML like this downloaded from infocenter:

<a class="link" href="../plugin.id.here/file.html#foo" target="_top">
<a class="link" href="../plugin.id.here/file.html%23foo" target="_top">

to URLs like these when you right-click the hotspot and open a new window:

http://server:8080/help/index.jsp?topic=/plugin.id.here/file .html

http//server:8080/help/topic/plugin.is.here/file.html%23foo

"foo" has been stripped off the first URL.
The second URL opens the topic in a window without frames. If I copy the second URL and replace "topic" with index.jsp?topic=, I get a window with frames and the info at the "foo" anchor is on top. How can I get the help system to do this???
thanks


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:How does the Index sorting work?
Next Topic:Move toc.xml into subfolders
Goto Forum:
  


Current Time: Wed May 22 01:21:44 EDT 2013

Powered by FUDForum. Page generated in 0.01760 seconds