Automatic Links
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 37
- Joined: Wed Jun 19, 2013 1:49 am
Automatic Links
Hi,
When you apply the WebHelp Classic transform scenario, oXygen automatically generates links to sibling topics, and adds them to the output parent topic.
But when you use the parent topic multiple times within a ditamap, and those other instances also have sibling topics, then oXygen adds links to all of the sibling topics to each copy of the parent topic!
This is confusing for the reader because they are expecting the number of child topics that appear in parent topic output to be the same as the number of child topics that appear in the table of contents.
Is there a way that I can limit the output of child topic links in the parent topic - to be the same number of child topics that appear in the table of content - for each instance of the parent topic?
Thanks,
Chris.
When you apply the WebHelp Classic transform scenario, oXygen automatically generates links to sibling topics, and adds them to the output parent topic.
But when you use the parent topic multiple times within a ditamap, and those other instances also have sibling topics, then oXygen adds links to all of the sibling topics to each copy of the parent topic!
This is confusing for the reader because they are expecting the number of child topics that appear in parent topic output to be the same as the number of child topics that appear in the table of contents.
Is there a way that I can limit the output of child topic links in the parent topic - to be the same number of child topics that appear in the table of content - for each instance of the parent topic?
Thanks,
Chris.
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Automatic Links
Post by radu_pisoi »
Hi,
For the case when you are referring a topic multiple times in a DITA Map, it would be better to use the copy-to attribute.
In this case, you will find in the output a copy of the original topic with the name specified in the copy-to attribute and with the correct child links.
For the case when you are referring a topic multiple times in a DITA Map, it would be better to use the copy-to attribute.
Code: Select all
<topicref href="concepts/springFlowers.dita" copy-to="springFlowers-2.dita">
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
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