Problem with nested chunking
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 32
- Joined: Wed Aug 16, 2017 8:07 pm
Problem with nested chunking
I have a Topic Head with the chunk attribute set to "to-content". The 5 child topics show up in the TOC, but only 2 of the 5 show up in the topic as the other 3 are chunked with children themselves. Is there a workaround for this?
-
- Posts: 145
- Joined: Mon Jun 12, 2017 10:50 am
Re: Problem with nested chunking
Post by cosmin_andrei »
Hello,
Could you please send us a complete small sample to reproduce the problem on our side?
You can send the sample by email to support [AT] oxygenxml [DOT] com.
Could you please send us a complete small sample to reproduce the problem on our side?
You can send the sample by email to support [AT] oxygenxml [DOT] com.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
-
- Posts: 9
- Joined: Tue Sep 11, 2018 9:23 pm
Re: Problem with nested chunking
Hi
I'm having a similar issue.
Here is the main ditamap:
Here is the nested map:
The problem is when the nested ditamap is found with the chunk=to-content, the editors wants that the content from "child_map_1.ditamap" to be duplicated inside its parent "topic_with_map_child.dita" file and also into the file for its current "child_map_1.ditamap".
Currently the output looks like this:
Output file from "topic_with_map_child.dita"

Output file from "child_map_1.ditamap"

But they want that the first file look like this:

But still having the second chunk file.
I'm having a similar issue.
Here is the main ditamap:
Code: Select all
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Chunking test map</title>
<topicref href="generic_topic_1.dita"/>
<topicref href="topic_with_map_child.dita" chunk="to-content">
<topicref href="generic_topic_2.dita"/>
<topicref href="child_map_1.ditamap" format="ditamap" chunk="to-content" />
</topicref>
</map>
Code: Select all
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Child map 1</title>
<topicref href="child_map_topic_1.dita"/>
<topicref href="child_map_topic_2.dita"/>
</map>
Currently the output looks like this:
Output file from "topic_with_map_child.dita"

Output file from "child_map_1.ditamap"

But they want that the first file look like this:

But still having the second chunk file.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Problem with nested chunking
Hi,
Thank you for your example.
Indeed, the issue seems to be caused by the chunk=to-content attribute set on the nested ditamap. The workaround is to set the attribute only on the parent topic topic_with_map_child.dita and removed it from the nested map.
I hope this helps.
Regards,
Ionela
Thank you for your example.
Indeed, the issue seems to be caused by the chunk=to-content attribute set on the nested ditamap. The workaround is to set the attribute only on the parent topic topic_with_map_child.dita and removed it from the nested map.
Code: Select all
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Chunking test map</title>
<topicref href="generic_topic_1.dita"/>
<topicref href="topic_with_map_child.dita" chunk="to-content">
<topicref href="generic_topic_2.dita"/>
<topicref href="child_map_1.ditamap" format="ditamap"/>
</topicref>
</map>
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