Generate PDF and XHTML from single XML instance
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Tue Jul 08, 2008 5:14 am
Generate PDF and XHTML from single XML instance
Ok, long time lurker, first time poster. This may be a bit of a noob question but... I'm trying to generate both PDF and XHTML files from a single XML file (or maybe sometimes a directory) in a single transform. I imagine that I could use a combination of document and result-document to achieve this result. But what I'm wondering is whether or not Oxygen can do this sort of thing: Can a transformation scenario be set-up to do both and if so, how? I believe Altova can do it. I've been unable to discover whether or not this is true of OXygen though. So rather than sweat something that wouldn't work I thought I'd ask first.
Thanks much. Also thanks for Oxygen.
Thanks much. Also thanks for Oxygen.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Generate PDF and XHTML from single XML instance
Post by sorin_ristache »
Hello,
It is not recommended to generate both XHTML output and PDF output in the same transformation from an XML source. Usually there are different stylesheets for the two types of output (also different languages: XSLT for XHTML output, XSLT + XSL-FO for PDF output) and a different transformation for each type of output. This is true for all document types regardless of the XML tool used for editing and transforming the documents. For example in this video demonstration you can see how to edit and how to generate PDF output in Oxygen from a DocBook XML document.
Regards,
Sorin
It is not recommended to generate both XHTML output and PDF output in the same transformation from an XML source. Usually there are different stylesheets for the two types of output (also different languages: XSLT for XHTML output, XSLT + XSL-FO for PDF output) and a different transformation for each type of output. This is true for all document types regardless of the XML tool used for editing and transforming the documents. For example in this video demonstration you can see how to edit and how to generate PDF output in Oxygen from a DocBook XML document.
Regards,
Sorin
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