Continuous integration for XML to PDF
Oxygen general issues.
-
- Posts: 7
- Joined: Wed Apr 15, 2015 2:53 pm
Continuous integration for XML to PDF
Hi,
We're currently looking in to the possibility of building our documents in a continuous integration solution, i.e generating pdfs automatically every time someone does a commit. This will help us find issues early and improve our process. The FO to PDF process we have good information about, but not how Oxygen transforms XML to FO.
How can we run the same XSLT-transformation command that Oxygen does from the command line?
Basically I'd like to see the java command that is run by Oxygen under the hood for transforming XML to an FO-file.
We're currently looking in to the possibility of building our documents in a continuous integration solution, i.e generating pdfs automatically every time someone does a commit. This will help us find issues early and improve our process. The FO to PDF process we have good information about, but not how Oxygen transforms XML to FO.
How can we run the same XSLT-transformation command that Oxygen does from the command line?
Basically I'd like to see the java command that is run by Oxygen under the hood for transforming XML to an FO-file.
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Continuous integration for XML to PDF
Hi,
To run from the command line XSLT 2.0 processing you can download separately the Saxon 9 XSLT processor:
http://www.saxonica.com/welcome/welcome.xml
and read its getting started section:
http://www.saxonica.com/documentation/i ... tartedjava
Regards,
Radu
To run from the command line XSLT 2.0 processing you can download separately the Saxon 9 XSLT processor:
http://www.saxonica.com/welcome/welcome.xml
and read its getting started section:
http://www.saxonica.com/documentation/i ... tartedjava
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 7
- Joined: Wed Apr 15, 2015 2:53 pm
Re: Continuous integration for XML to PDF
So we're using Saxon 6.5.5 to transform XML to an FO-file.
Is there any way to see which java-command that Oxygen runs when transforming?
Is there any way to get any log output from this process?
Is there any way to see which java-command that Oxygen runs when transforming?
Is there any way to get any log output from this process?
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Continuous integration for XML to PDF
Hi,
Oxygen doesn't run a Java command when applying a Saxon transformation, it uses the Saxon Java API (because Oxygen itself is a Java application). Consequently there's no log output.
You can find the command line information on the Saxon 6.5.5 page:
http://saxon.sourceforge.net/saxon6.5.5/
java -cp saxon.jar;saxon-xml-apis.jar com.icl.saxon.StyleSheet source.xml stylesheet.xsl
If you have Java extensions (.jar) that are used for the transfromation, simply add them to the classpath from the command line:
java -cp saxon.jar;saxon-xml-apis.jar;my-extension.jar ...
Note that on Linux and Mac the classpath separator is ':' instead of ';'.
Regards,
Adrian
Oxygen doesn't run a Java command when applying a Saxon transformation, it uses the Saxon Java API (because Oxygen itself is a Java application). Consequently there's no log output.
You can find the command line information on the Saxon 6.5.5 page:
http://saxon.sourceforge.net/saxon6.5.5/
java -cp saxon.jar;saxon-xml-apis.jar com.icl.saxon.StyleSheet source.xml stylesheet.xsl
If you have Java extensions (.jar) that are used for the transfromation, simply add them to the classpath from the command line:
java -cp saxon.jar;saxon-xml-apis.jar;my-extension.jar ...
Note that on Linux and Mac the classpath separator is ':' instead of ';'.
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)
- ↳ 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