Inspecting Saxon Calls from Oxygen
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 45
- Joined: Mon Aug 24, 2009 11:42 pm
Inspecting Saxon Calls from Oxygen
I would like to know if there is some way to view the actual CLI commands sent to Saxon when doing XSLT transformations using Oxygen XML GUI.
Is there a debug log somewhere with the actual exchange between Oxygen and Saxon that records the commands sent and responses received?
Thank you.
Environment:
Oxygen XML Editor 19.0 (Windows 10 x64)
Is there a debug log somewhere with the actual exchange between Oxygen and Saxon that records the commands sent and responses received?
Thank you.
Environment:
Oxygen XML Editor 19.0 (Windows 10 x64)
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Inspecting Saxon Calls from Oxygen
Hi,
What exactly are you looking for?
Regards,
Adrian
There are no CLI commands involved when Oxygen runs a Saxon transformation. Since both Oxygen and Saxon are Java-based, Oxygen uses the Saxon Java API for all operations. This also makes it possible to debug with Saxon.I would like to know if there is some way to view the actual CLI commands sent to Saxon when doing XSLT transformations using Oxygen XML GUI.
What exactly are you looking for?
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: 45
- Joined: Mon Aug 24, 2009 11:42 pm
Re: Inspecting Saxon Calls from Oxygen
I'm just curious to see the command parameters that Oxygen is using to invoke Saxon. I may want to explore the possibility of a workflow of invoking XSLT transformations from the command line (called from scripts), and I want be able to compare the results to those produced to transformations produced interactively from Oxygen. Does that make sense?
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Inspecting Saxon Calls from Oxygen
I see, unfortunately this is not the case as there is no CLI command. What Oxygen does via the Java API does not always have a CLI equivalent, so it's difficult to map one to another. Besides, since Saxon transformations are run within the Oxygen Java VM there are various handlers (e.g. protocol handlers) that Oxygen implements and are only available to Saxon within Oxygen's Java environment.
Regards,
Adrian
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: 45
- Joined: Mon Aug 24, 2009 11:42 pm
Re: Inspecting Saxon Calls from Oxygen
P.S. One of the reasons I asked was I want to find way to invoke transformations for a subset of XML documents.
Say, for instance, I have a set of 2,500 documents in a directory, but I have modified one or two of them. How can I initiate a series of XSLT transformations only on the modified documents, and not the entire directory? I see no way within Oxygen's user interface to select only XML documents modified after a certain date, and run my transformation scenarios on just those.
Say, for instance, I have a set of 2,500 documents in a directory, but I have modified one or two of them. How can I initiate a series of XSLT transformations only on the modified documents, and not the entire directory? I see no way within Oxygen's user interface to select only XML documents modified after a certain date, and run my transformation scenarios on just those.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Inspecting Saxon Calls from Oxygen
Hi,
I would recommend Eclipse + Oxygen plugin for Eclipse + a version control system (Subversion or git). Eclipse will show you which files are modified locally (if thy are under version control) and maybe you can filter the rest.
Regards,
Adrian
Oxygen doesn't make that distinction for you (for "modified files").Say, for instance, I have a set of 2,500 documents in a directory, but I have modified one or two of them. How can I initiate a series of XSLT transformations only on the modified documents, and not the entire directory?
I would recommend Eclipse + Oxygen plugin for Eclipse + a version control system (Subversion or git). Eclipse will show you which files are modified locally (if thy are under version control) and maybe you can filter the rest.
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: 45
- Joined: Mon Aug 24, 2009 11:42 pm
Re: Inspecting Saxon Calls from Oxygen
Thank you for the suggestion.
But rather than going to the effort of installing Eclipse and learning another IDE, I'd rather work through the command line, where I know I can script operations exactly the way I want. I'm hoping all I will need to do is figure out how to work with Saxon's command line API.
Thanks again.
But rather than going to the effort of installing Eclipse and learning another IDE, I'd rather work through the command line, where I know I can script operations exactly the way I want. I'm hoping all I will need to do is figure out how to work with Saxon's command line API.
Thanks again.
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