abbreviated-form and keyref
Post here questions and problems related to editing and publishing DITA content.
abbreviated-form and keyref
The abbreviated-form element used with is pretty handy to display description from a glossary term. It offers information when hovering a link provided through a keyref and a link to the term definition on a specific topic. However, when clicking a link to a term topic, I noticed I can't choose to open a new window or to be redirected within the current window. My issue is the following, is there any way to customize the target for a keyref used with the abbreviated form?
From my research, the abbrev-domain.xsl contains a relevant template with:
Has anyone already met this need?
Code: Select all
<abbreviated-form keyref=""/>
Code: Select all
target="_blank"
From my research, the abbrev-domain.xsl contains a relevant template with:
Code: Select all
<xsl:template match="*[contains(@class,' abbrev-d/abbreviated-form ')]" name="topic.abbreviated-form">
<xsl:variable name="keys" select="@keyref"/>
<xsl:variable name="target" select="key('id', substring(@href, 2))[1]" as="element()?"/>
...
------
Gaspard
Gaspard
-
- Posts: 738
- Joined: Thu May 02, 2019 2:32 pm
Re: abbreviated-form and keyref
Post by chrispitude »
Hi Gaspard,
Which transformation type are you using for output?
- Chris
Which transformation type are you using for output?
- Chris
Re: abbreviated-form and keyref
Hi Gaspard,
From what I remember we have not had similar requests in the past. But indeed probably something like this can be done with an XSLT customization.
If your question is in general for the DITA XML community, you could try to ask on the DITA Users List:
https://dita-users.groups.io/g/main
Most people registered on the Oxygen XML forum have opted to receive notifications only for their specific posts.
Regards,
Radu
From what I remember we have not had similar requests in the past. But indeed probably something like this can be done with an XSLT customization.
If your question is in general for the DITA XML community, you could try to ask on the DITA Users List:
https://dita-users.groups.io/g/main
Most people registered on the Oxygen XML forum have opted to receive notifications only for their specific posts.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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 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