How to incorporate child ditamaps under a parent ditamap...?
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 58
- Joined: Fri Sep 12, 2008 12:12 am
How to incorporate child ditamaps under a parent ditamap...?
What is the proper procedure for adding a ditamap as a child "topic" to another ditamap? Basically I wanted to break up each major section or chapter of a document we have created into several ditamaps (one per section/chapter) and then use one overall unifying ditmap to place the others under as child nodes. When I try to build such a ditamap for PDF it creates a 4-page blank slate except for headings like "Contents" and page number. Is this an issue with it being called by a <topicref> or is it something else? Any suggestions would be appreciated.
Thanks,
Josh
Thanks,
Josh
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to incorporate child ditamaps under a parent ditamap...?
Hi Josh,
Usually from the DITA Maps Manager View you can choose to add a Topic Reference and in the dialog choose the DITA Map to refer and set a navigation title to it.
The generated XML code should be something like:
Both the PDF2 and PDF transformations seemed to incorporate OK the content of the referenced map.
Regards,
Radu
Usually from the DITA Maps Manager View you can choose to add a Topic Reference and in the dialog choose the DITA Map to refer and set a navigation title to it.
The generated XML code should be something like:
Code: Select all
<topicref href="hierarchy.ditamap" navtitle="Title" locktitle="yes" format="ditamap"/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 58
- Joined: Fri Sep 12, 2008 12:12 am
Re: How to incorporate child ditamaps under a parent ditamap...?
Hi Radu,
I have tried that and added a nav title. For simplicity I was just testing with a single ditamap "subtopic". The entirety of the encompassing ditamap looks like:
All that it does is generate those 4-blank pages with the header "Contents" and some page numbers. Something is obviously being overlooked here. I am using the newest version of Oxygen (version 10). Should I try to send my files to you so you can test it out on your machine, or do you know what the problem might be?
No success with both a PDF and PDF2 build. Same results.
~Josh
I have tried that and added a nav title. For simplicity I was just testing with a single ditamap "subtopic". The entirety of the encompassing ditamap looks like:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/map.dtd">
<map title="DITA Topic Map">
<topicref href="Resources.ditamap" navtitle="Resources" locktitle="yes" format="ditamap"/>
</map>
No success with both a PDF and PDF2 build. Same results.
~Josh
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to incorporate child ditamaps under a parent ditamap...?
Hi Josh,
From a simple sample project that I tried to transform I noticed no problems so if you have a sample project, you can send it over to our support email.
Regards,
Radu
From a simple sample project that I tried to transform I noticed no problems so if you have a sample project, you can send it over to our support email.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 58
- Joined: Fri Sep 12, 2008 12:12 am
Re: How to incorporate child ditamaps under a parent ditamap...?
Ok, I feel stupid now. I figured it out. The ditamap had spaces in the file name (I've made this mistake before). I just had to look at the output log a little more thoroughly and I saw where the errors were coming from. Works great now. Thanks for your time!
P.S. In future versions will the requirements for no white space in file names be removed or improved upon at all? Just wondering.
~Josh
P.S. In future versions will the requirements for no white space in file names be removed or improved upon at all? Just wondering.
~Josh
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to incorporate child ditamaps under a parent ditamap...?
Hi Josh,
We fixed this issue about two months ago so when Oxygen 10.1 comes out in about one month you can try it out.
Regards,
Radu
We fixed this issue about two months ago so when Oxygen 10.1 comes out in about one month you can try it out.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
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