Collection-type settings don't take effect
Post here questions and problems related to editing and publishing DITA content.
Collection-type settings don't take effect
Hi,
To display hierarchical links in an output, I tried to use the collection-type settings with the following results:
-sequence on the root map and the root topic - no links appear at all
-unordered on a parent topic - no links appear at all
-family on a parent topic - no links appear on the parent, only on child topics
I'm using the default DITA Map WebHelp Responsive transform.
What am I doing wrong?
Thanks,
Anne
To display hierarchical links in an output, I tried to use the collection-type settings with the following results:
-sequence on the root map and the root topic - no links appear at all
-unordered on a parent topic - no links appear at all
-family on a parent topic - no links appear on the parent, only on child topics
I'm using the default DITA Map WebHelp Responsive transform.
What am I doing wrong?
Thanks,
Anne
Re: Collection-type settings don't take effect
Hi,
It should work to set the collection-type attribute. Could you please test this on our sample flowers.ditamap as it has collection-type="sequence" attributes set on some topicref elements.
As an alternative, there is a "webhelp.default.collection.type.sequence" parameter in the WebHelp Responsive transformation scenario dialog that you could set to "yes". This option will add Next and Previous navigation buttons for all HTML pages in the WebHelp Responsive output.
If you use this parameter, you need to remove the collection-type attributes set in your DITA source files.
Regards,
Ionela
It should work to set the collection-type attribute. Could you please test this on our sample flowers.ditamap as it has collection-type="sequence" attributes set on some topicref elements.
As an alternative, there is a "webhelp.default.collection.type.sequence" parameter in the WebHelp Responsive transformation scenario dialog that you could set to "yes". This option will add Next and Previous navigation buttons for all HTML pages in the WebHelp Responsive output.
If you use this parameter, you need to remove the collection-type attributes set in your DITA source files.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Re: Collection-type settings don't take effect
Hi Ionela,
Unfortunately, your suggestion didn't work. The only collection-type value that works for me is "family", others don't take any effect whatsoever.
Where can I find the source of your sample flowers.ditamap to test in my environment?
Thanks,
Anne
Unfortunately, your suggestion didn't work. The only collection-type value that works for me is "family", others don't take any effect whatsoever.
Where can I find the source of your sample flowers.ditamap to test in my environment?
Thanks,
Anne
Re: Collection-type settings don't take effect
Hi,
The sample project (sample.xpr) is the one that comes with the oXygen XML installation. You can find the sample project under the user profile > Documents directory. In this sample project there is a dita folder where you can find the flowers.ditamap.
Please test on the sample flowers.ditamap by running the default DITA Map WebHelp Responsive transformation scenario. Then, you can edit the default scenario and set the "webhelp.default.collection.type.sequence" parameter to "yes".
If it works on the sample project, further on in your files you need to set this parameter starting from the default DITA Map WebHelp Responsive transformation scenario. Also, when you set this parameter make sure you remove the collection-type attribute from your DITA source files. If you set the parameter in the DITA files, the webhelp.default.collection.type.sequence does not have effect for those files as the attribute defined in the DITA source has precedence.
Regards,
Ionela
The sample project (sample.xpr) is the one that comes with the oXygen XML installation. You can find the sample project under the user profile > Documents directory. In this sample project there is a dita folder where you can find the flowers.ditamap.
Please test on the sample flowers.ditamap by running the default DITA Map WebHelp Responsive transformation scenario. Then, you can edit the default scenario and set the "webhelp.default.collection.type.sequence" parameter to "yes".
If it works on the sample project, further on in your files you need to set this parameter starting from the default DITA Map WebHelp Responsive transformation scenario. Also, when you set this parameter make sure you remove the collection-type attribute from your DITA source files. If you set the parameter in the DITA files, the webhelp.default.collection.type.sequence does not have effect for those files as the attribute defined in the DITA source has precedence.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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