HTML "rolled up" files in output
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 16
- Joined: Wed Nov 24, 2010 12:37 pm
HTML "rolled up" files in output
Hi,
Is it possible to change the 1:1 mapping of topics to HTML files in output?
I am using DITA-OT and using the XHTML transformation scenario. I have nested topicrefs in my ditamap, and what I want to do is to generate a single HTML file for each second level heading, rather than have a separate HTML file for each topic. For example:
ditamap hierarchy:
1. Topic 1
1.1 Topic 2
1.2 Topic 3
1.2.1 Topic 4
1.2.2 Topic 5
1.3 Topic 6
2. Topic 7
2.1 Topic 8
etc
What I want is to generate output files that contain:
HTML_1 - Topic 1
HTML_2 - Topic 2
HTML_3 - Topics 3,4 and 5
HTML_4 - Topic 6
HTML_5 - Topic 7
HTML_6 - Topic 8
Anything that rolls up the files would be helpful. Is it possible?
Thanks,
John
Is it possible to change the 1:1 mapping of topics to HTML files in output?
I am using DITA-OT and using the XHTML transformation scenario. I have nested topicrefs in my ditamap, and what I want to do is to generate a single HTML file for each second level heading, rather than have a separate HTML file for each topic. For example:
ditamap hierarchy:
1. Topic 1
1.1 Topic 2
1.2 Topic 3
1.2.1 Topic 4
1.2.2 Topic 5
1.3 Topic 6
2. Topic 7
2.1 Topic 8
etc
What I want is to generate output files that contain:
HTML_1 - Topic 1
HTML_2 - Topic 2
HTML_3 - Topics 3,4 and 5
HTML_4 - Topic 6
HTML_5 - Topic 7
HTML_6 - Topic 8
Anything that rolls up the files would be helpful. Is it possible?
Thanks,
John
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: HTML "rolled up" files in output
Hi John,
Unfortunately the way in which the DITA OT XHTML transformation is constructed generates an HTML file for each DITA topic so I don't think this is possible. Maybe you should also ask around on the DITA Users List.
Regards,
Radu
Unfortunately the way in which the DITA OT XHTML transformation is constructed generates an HTML file for each DITA topic so I don't think this is possible. Maybe you should also ask around on the DITA Users List.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 16
- Joined: Wed Nov 24, 2010 12:37 pm
Re: HTML "rolled up" files in output
Hi,
Just for information, there is an attribute called chunk that you can use in the ditamap to control this type of output, see http://docs.oasis-open.org/dita/v1.1/OS ... nking.html
Cheers!
Just for information, there is an attribute called chunk that you can use in the ditamap to control this type of output, see http://docs.oasis-open.org/dita/v1.1/OS ... nking.html
Cheers!
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service