automatically add nested topics to bookmap?

Oxygen general issues.
maglid
Posts: 75
Joined: Mon Sep 28, 2009 8:10 am

automatically add nested topics to bookmap?

Post by maglid »

My source files are <dita> with embedded topics like this:

<dita>
<concept/>
<concept/>
<concept/>
</dita>

I add these <dita> topics to a bookmap for PDF output, and I make a child link to each nested topic like this:

<bookmap>
<booktitle/>
<frontmatter/>
<chapter href="api_syntax.xml">
<topicref href="api_syntax.xml#c32145e"></topicref>
<topicref href="api_syntax.xml#i998343"></topicref>
<topicref href="api_syntax.xml#9047f63"></topicref>
</chapter>
<chapter href="next-chap">
...
</chapter>
<bookmap>

When a new nested topic gets added, it has to be manually added to the bookmap. My question is, is there a way to get Author or Oxygen to add new nested topics automatically?

Thanks,
Mark
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: automatically add nested topics to bookmap?

Post by Radu »

Hi Mark,

No, sorry, we do not have something automatic to help you with this.
Maybe you can create an XSLT stylesheet which creates nested topic refs when applied to a DITA Composite file.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply