navtitle for relationship table links
Post here questions and problems related to editing and publishing DITA content.
-
gszabo
- Posts: 18
- Joined: Wed Jan 25, 2023 1:15 am
navtitle for relationship table links
Hello,
We're using Oxygen's PDF/CSS/HTML5 transformation to render PDFs. I'd like to customize the transformation so that if a topicref in the DITAmap has a navtitle, any corresponding topicrefs in relationship tables use the navtitle text in the link, not the topic title. Is there a template I can override to accomplish this?
The following example shows the topicref in the DITAmap and the corresponding topic in the relationship table:
Thank you for looking at this.
We're using Oxygen's PDF/CSS/HTML5 transformation to render PDFs. I'd like to customize the transformation so that if a topicref in the DITAmap has a navtitle, any corresponding topicrefs in relationship tables use the navtitle text in the link, not the topic title. Is there a template I can override to accomplish this?
The following example shows the topicref in the DITAmap and the corresponding topic in the relationship table:
Code: Select all
<topicref href="m_DriverOutput-Programming.dita" format="dita" scope="local"
type="parametersTopic" keys="m_DriverOutput-Programming" locktitle="yes">
<topicmeta>
<navtitle>Driver Output Menu (Programming)</navtitle>
</topicmeta>
<relrow>
<relcell>
<topicref keyref="drivers"/>
</relcell>
<relcell>
<topicref keyref="m_DriverOutput-Programming"/>
<topicref keyref="m_DriverOutput-Monitor"/>
</relcell>
<relcell/>
</relrow>
-
julien_lacour
- Posts: 761
- Joined: Wed Oct 16, 2019 3:47 pm
Re: navtitle for relationship table links
Post by julien_lacour »
Hello,
There's no possibility to use the navtitle directly in reltable links, however, you can use the <linktext> element and copy the navtitle content:
With this you should get the same text in both TOC and links.
Regards,
Julien
There's no possibility to use the navtitle directly in reltable links, however, you can use the <linktext> element and copy the navtitle content:
Code: Select all
<topicref href="m_DriverOutput-Programming.dita" format="dita" scope="local"
type="parametersTopic" keys="m_DriverOutput-Programming" locktitle="yes">
<topicmeta>
<navtitle>Driver Output Menu (Programming)</navtitle>
<linktext>Driver Output Menu (Programming)</linktext>
</topicmeta>
</topicref>
Regards,
Julien
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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