abbreviated-form of the glossentry inside glossgroup
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
abbreviated-form of the glossentry inside glossgroup
I use the following structure:
Then I use <abbreviated-form keyref="ena/asd"/>. But nothing is shown in the output.
Code: Select all
<glossgroup id="ena">
...
<glossentry id="asd">
...
</glossentry>
</glossgroup>
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: abbreviated-form of the glossentry inside glossgroup
Hi,
In my opinion you cannot use "abbreviated-form" elements to refer to glossentry elements inside glossgroups.
Why this?
According to the specification:
https://docs.oasis-open.org/dita/v1.2/o ... ibute.html
The only way to make this work would be to refer in the DITA Map directly to the glossentry inside the glossgroup:
and then to point to the key directly using .
But you would need to define a key for each topic reference to a glossentry inside a glossgroup.
Or you can keep your glossentry elements in separate files and chunk them together in a single file when producing the output.
Regards,
Radu
In my opinion you cannot use "abbreviated-form" elements to refer to glossentry elements inside glossgroups.
Why this?
According to the specification:
https://docs.oasis-open.org/dita/v1.2/o ... ibute.html
so the ID which follows the keyName/ pattern needs to point to a subtopic element but "glossentry" is a topic level element.the value of the keyref attribute is a key name, a solidus ("/"), and the ID of the target element, where the key name must be bound to either the map or topic that contains the target element.
The only way to make this work would be to refer in the DITA Map directly to the glossentry inside the glossgroup:
Code: Select all
<topicref href="topics/glossgroup.xml#asd" keys="asdRef"/>
Code: Select all
<abbreviated-form keyref="asdRef"/>
But you would need to define a key for each topic reference to a glossentry inside a glossgroup.
Or you can keep your glossentry elements in separate files and chunk them together in a single file when producing the output.
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)
- ↳ 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