generating web html output at chapter level

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 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.

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.

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I