Page 1 of 1

Transform DITA map to single XHTML file to use impress.js

Posted: Fri Sep 06, 2013 12:10 am
by cube
Hi,

I'm trying to write my first (complex) transformation scenario. Therefore I need to transform a DITA map with all its topics to a single XHTML file. My goal is to create a presentation with https://github.com/bartaz/impress.js/. Unfortunately I fail transforming all topics to a single file. Is this possible?

Thanks a lot and best regards!

- cube

Re: Transform DITA map to single XHTML file to use impress.j

Posted: Fri Sep 06, 2013 8:44 am
by Radu
Hi,

Please see this post:

http://www.oxygenxml.com/forum/post2511 ... unk#p25114

Regards,
Radu

Re: Transform DITA map to single XHTML file to use impress.j

Posted: Tue Sep 10, 2013 4:09 pm
by cube
Hi Radu,

thanks a lot for your answer. I set the attribute, but the result is still the same with the Oxygen default transformation scenarios. I'll try to figure out, what's the problem.

Best regards
cube

Re: Transform DITA map to single XHTML file to use impress.j

Posted: Tue Sep 10, 2013 4:41 pm
by Radu
Hi,

So you tried to use the predefined DITA Map XHTML transformation scenario, right?
How about if you try a small sample?
You can copy the samples folder outside of an Oxygen installation (in order to have full access rights):

OXYGEN_INSTALL_DIR/samples

Then you open this sample DITA Map:

samples\dita\flowers\flowers.ditamap

and edit it to add the attribute chunk="to-content" to the <map> root element.
Then publish using DITA Map XHTML. The output folder should contain a topic called flowers.html in which all the map's content is placed. Does this sample work for you?

Regards,
Radu