Sort glossgroup alphabetically
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 145
- Joined: Mon Jun 12, 2017 10:50 am
Re: Sort glossgroup alphabetically
Post by cosmin_andrei »
Hello,
Unfortunately, this feature is not available in the current implementation of Oxygen XML WebHelp.
We have already registered a feature request. I have added your vote.
Unfortunately, this feature is not available in the current implementation of Oxygen XML WebHelp.
We have already registered a feature request. I have added your vote.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Sort glossgroup alphabetically
Hi,
Although this sorting is not possible automatically at publishing time there is a possibility to do something like this manually by applying an XML refactoring operation on the DITA Map:
https://blog.oxygenxml.com/topics/sort_ ... tries.html
Regards,
Radu
Although this sorting is not possible automatically at publishing time there is a possibility to do something like this manually by applying an XML refactoring operation on the DITA Map:
https://blog.oxygenxml.com/topics/sort_ ... tries.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Sort glossgroup alphabetically
Hi,
So instead of keeping each glossentry to a separate file, you have a single glossgroup file with multiple glossentry elements inside? Similarly you need to probably create an XML refactoring action based on a custom XSLT stylesheet, but apply it directly on the glossgroup file to sort the glossentries. The XSLT in my blog post would need to be adjusted to work inside a glossgroup instead of working on a DITA Map and sorting references to glossentries.
Regards,
Radu
So instead of keeping each glossentry to a separate file, you have a single glossgroup file with multiple glossentry elements inside? Similarly you need to probably create an XML refactoring action based on a custom XSLT stylesheet, but apply it directly on the glossgroup file to sort the glossentries. The XSLT in my blog post would need to be adjusted to work inside a glossgroup instead of working on a DITA Map and sorting references to glossentries.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Sort glossgroup alphabetically
Post by chrispitude »
Hi Radu,
This is also how we create our glossaries - as a single .dita file containing a <glossgroup> with many entries.
The fun (?) part is that to be able to reference these glossary terms by key, we have to include key-defining <topicref>s for every term:
but we have an External Tool we run in Oxygen that does this for us (a compiled Perl script), so it's not too terribly bad.
This is also how we create our glossaries - as a single .dita file containing a <glossgroup> with many entries.
The fun (?) part is that to be able to reference these glossary terms by key, we have to include key-defining <topicref>s for every term:
Code: Select all
<appendix href="ptug/glossary.dita" keys="glossary">
<topicref href="ptug/glossary.dita#active_edge" keys="glossary_active_edge"/>
<topicref href="ptug/glossary.dita#aggressor_net" keys="glossary_aggressor_net"/>
...
<topicref href="ptug/glossary.dita#CHDJFEFD" keys="glossary_voltage_area"/>
<topicref href="ptug/glossary.dita#wire_load_model" keys="glossary_wire_load_model"/>
</appendix>
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