generating web html output at chapter level
Forum topic: Submitted by karsam on Thu, 2008-05-22 17:13.
Hi there,
I would like to get an overview of how to generate web html output in chapter level by feeding a ditamap as input. The input file will have multiple chapters in it with multiple topic references and I want generate multiple html output with toc in each html at the chapter level. Current DITA OT produces output in topic level with individual html files along with toc in a seperate html file.
Thanks,
r/k
Take a look at the
Take a look at the topicmerge.xsl in the DITA OT. That might give you some starting point. We noticed that we can use that at the <map> level however there are challenges at the <bookmap> level when we want to split the <chapters> and have all the topics/map under each <chapter> as single document.
Thanks Sam for your response
I had tried with topic merge, it worked fine for merging the xml content. But getting the list of xml files respect to chapters from a bookmap, I think we need to accomplish through dost.jar by writing a new parsing method. As you rightly mentioned, there are chalenges at bookmap level, especially creating TOC and cross reference within/outside the document.