Can I run one XSLTtransformation after another automatically
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 9
- Joined: Thu Mar 26, 2015 5:53 am
Can I run one XSLTtransformation after another automatically
What I have been doing is transforming XML to XML and then taking another XSLT stylesheet and transforming the result XML to fixed width. Is there anyway to do this in one take?
So I'm using two separate XSLT stylesheets:
-1 for the first transformation (original.XML -> result.XML)
-2 for the second transformation (result.XML -> .txt)
So I'm using two separate XSLT stylesheets:
-1 for the first transformation (original.XML -> result.XML)
-2 for the second transformation (result.XML -> .txt)
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Can I run one XSLTtransformation after another automatic
Hello,
oXygen allows you to use multiple stylesheets for your transformation, so adding an additional XSL to your transformation could be the solution you are looking for.
This way, the resulting output from the transformation of your XML file with the first XSL would be considered as the input for the 2nd transformation.
In order to use multiple XSL files for your transformation, you should go into the "Configure Transformation Scenario(s)" configuration dialog, from oXygen menu Document > Transformation (or using the appropriate shortcut in the toolbar), edit your scenario and just add the additional stylesheet under the XSLT tab > Additional XSLT Stylesheets.
Apply the changes and then you could run your transformation using your multiple stylesheets.
Best Regards,
Costin
oXygen allows you to use multiple stylesheets for your transformation, so adding an additional XSL to your transformation could be the solution you are looking for.
This way, the resulting output from the transformation of your XML file with the first XSL would be considered as the input for the 2nd transformation.
In order to use multiple XSL files for your transformation, you should go into the "Configure Transformation Scenario(s)" configuration dialog, from oXygen menu Document > Transformation (or using the appropriate shortcut in the toolbar), edit your scenario and just add the additional stylesheet under the XSLT tab > Additional XSLT Stylesheets.
Apply the changes and then you could run your transformation using your multiple stylesheets.
Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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