Webhelp: internal Links not working
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 14
- Joined: Mon Dec 07, 2020 12:57 pm
Webhelp: internal Links not working
Hi,
I have an issue with Internal Links not opening when creating a Webhelp Responsive page from Dita. When clicking on the link the focus goes to the top of the page, but not to the expected section or table.
When I use the same Dita-Source and create a HTML5 page everything is working as expected.
In Dita-xml the source looks like
IMHO the created webhelp-pages look ok, as I can find the source like
Also online (via a web-server) or offline (via filenames) does not make any difference.
I am using OxygenXml Editor V25
Any idea what's wrong? Thanks!
I have an issue with Internal Links not opening when creating a Webhelp Responsive page from Dita. When clicking on the link the focus goes to the top of the page, but not to the expected section or table.
When I use the same Dita-Source and create a HTML5 page everything is working as expected.
In Dita-xml the source looks like
and the target is<li> Select the desired waveform from the Waveform Panel (see <xref href="#UM_A_Overview/waveformpanelt" type="table" />).
.<reference id="UM_A_Overview" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"> .........<table id="waveformpanelt" >
IMHO the created webhelp-pages look ok, as I can find the source like
as well as the target like<a class="- topic/xref xref" href="#UM_A_Overview__waveformpanelt">Table 2</a>
I have tried different browsers on different machines with no success.<p class="- topic/p p section_title2" id="UM_A_Overview__waveformpanel" data-ofbid="UM_A_Overview__waveformpanel">Waveform Panel</p>
Also online (via a web-server) or offline (via filenames) does not make any difference.
I am using OxygenXml Editor V25
Any idea what's wrong? Thanks!
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Webhelp: internal Links not working
Post by chrispitude »
Hi MicTie,
I made a testcase and it seems to work for me:
Can you try it on your side and see if it works for you?
I made a testcase and it seems to work for me:
webhelp_link_to_table.zip
Can you try it on your side and see if it works for you?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 14
- Joined: Mon Dec 07, 2020 12:57 pm
Re: Webhelp: internal Links not working
Thank you!
I managed to pinpoint and resolve the issue.
In my transformation parameters I specified 'webhelp.fragment.header' pointing to my 'header.xml'-file - which causes the issue.
I was able to get your testcase to fail, when specifying 'webhelp.fragment.header' pointing to a very basic xml-file like:
If I use 'webhelp.fragment.head' (without the 'er' at the end) instead, my links are working fine.
Thank you for your quick help!
I managed to pinpoint and resolve the issue.
In my transformation parameters I specified 'webhelp.fragment.header' pointing to my 'header.xml'-file - which causes the issue.
I was able to get your testcase to fail, when specifying 'webhelp.fragment.header' pointing to a very basic xml-file like:
Code: Select all
<!DOCTYPE html><html>
<head> </head>
<body>
<p>my header</p>
</body>
</html>
Thank you for your quick help!
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service