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

Oxygen general issues.
OxUser
Posts: 18
Joined: Tue Mar 12, 2013 1:39 am

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

Post 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
Radu
Posts: 9018
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply