Output Multiple PDF files
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Fri Mar 19, 2010 1:03 pm
Output Multiple PDF files
Hi!
XML file looks like this:
<root>
<row filename="row1">
<cell1></cell1>
<cell2></cell2>
</row>
<row filename="row2">
<cell1></cell1>
<cell2></cell2>
</row>
.....
</root>
I'd like to create multiple PDF files for every "row" node. Filename = attribute.pdf
I'm able to create multiple .fo files using <xsl:result-document> and Oxygen but I have no idea how to transform the content of a single XML-File via XSL-FO into multiple PDF-Files.
Thank you sooo much for your help!
Sebastian
XML file looks like this:
<root>
<row filename="row1">
<cell1></cell1>
<cell2></cell2>
</row>
<row filename="row2">
<cell1></cell1>
<cell2></cell2>
</row>
.....
</root>
I'd like to create multiple PDF files for every "row" node. Filename = attribute.pdf
I'm able to create multiple .fo files using <xsl:result-document> and Oxygen but I have no idea how to transform the content of a single XML-File via XSL-FO into multiple PDF-Files.
Thank you sooo much for your help!
Sebastian
-
- Posts: 2883
- Joined: Tue May 17, 2005 4:01 pm
Re: Output Multiple PDF files
Hello,
I believe you can only do this in Oxygen in two steps.
You already made the first step 1 xml => multiple fo.
To make this easier you should output all the FOs in a separate folder(output).
The second step is a bit manual. In the Project view of Oxygen link(to external folder) the output folder for the FOs. Then right click on the linked output folder and configure a transformation scenario(you can simply choose the predefined FO PDF scenario). Afterwards you will only have to right click on the output folder and Apply Transformation Scenario.
Let me know if you need further help or information.
Regards,
Adrian
I believe you can only do this in Oxygen in two steps.
You already made the first step 1 xml => multiple fo.
To make this easier you should output all the FOs in a separate folder(output).
The second step is a bit manual. In the Project view of Oxygen link(to external folder) the output folder for the FOs. Then right click on the linked output folder and configure a transformation scenario(you can simply choose the predefined FO PDF scenario). Afterwards you will only have to right click on the output folder and Apply Transformation Scenario.
Let me know if you need further help or information.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2883
- Joined: Tue May 17, 2005 4:01 pm
Re: Output Multiple PDF files
Hi,
I spoke too soon. You can actually automate the whole thing and do the same step by step transformations in XProc.
Oxygen provides a few simple XProc samples: in <sampleProject>/xproc
You can read more about XProc here:
http://xproc.org/
http://www.ibm.com/developerworks/library/x-xproc/
http://www.w3.org/TR/xproc/
Regards,
Adrian
I spoke too soon. You can actually automate the whole thing and do the same step by step transformations in XProc.
Oxygen provides a few simple XProc samples: in <sampleProject>/xproc
You can read more about XProc here:
http://xproc.org/
http://www.ibm.com/developerworks/library/x-xproc/
http://www.w3.org/TR/xproc/
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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