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

Post here questions and problems related to editing and publishing DITA content.
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 »

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: 9041
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

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 »

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: 9041
Joined: Fri Jul 09, 2004 5:18 pm

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

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