Page 1 of 1

Want to output one long XHTML file, rather than multiple files (one per topic file)

Posted: Tue Mar 12, 2013 7:37 pm
by OxUser
I am creating an XHTML output from several DITA topic files. By default, the output is an equal number of XHMTL files to DITA topic files. (So, 12 DITA topics = 12 XHTML pages, plus the XHTML Index page)

Can I have the output create one long XHTML file, instead of many small ones? If so, how do I set this up?

(Ideally, I would want all of the DITA topic files to appear in the one XHTML file output, and in the same order as the topics appear in the DITA Map file).

Thanks for your suggestions

Re: Want to output one long XHTML file, rather than multiple files (one per topic file)

Posted: Wed Mar 13, 2013 11:36 am
by Radu
Hi,

In DITA there is a special @chunk attribute which controls this:

http://docs.oasis-open.org/dita/v1.1/OS ... nking.html

Basically you should set the chunk="to-content" attribute on the <map> root element.

Regards,
Radu