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 » Tue Mar 12, 2013 7:37 pm

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: 6981
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 » Wed Mar 13, 2013 11:36 am

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