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

cube
Posts: 13
Joined: Mon Jul 29, 2013 6:14 pm

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

Post by cube » Fri Sep 06, 2013 12:10 am

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

Radu
Posts: 6539
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu » Fri Sep 06, 2013 8:44 am

Hi,

Please see this post:

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

cube
Posts: 13
Joined: Mon Jul 29, 2013 6:14 pm

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

Post by cube » Tue Sep 10, 2013 4:09 pm

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

Radu
Posts: 6539
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu » Tue Sep 10, 2013 4:41 pm

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

Post Reply