[oXygen-user] External data from XQuery in Transformation Scenario.

Mike Starov
Thu Feb 5 11:23:37 CST 2009


Hello.
>
> It is possible to set up a chain of XSLT transformations in the same
> transformation scenario but in the current version it is not possible
> to chain XQuery and XSLT transformations in the same scenario. That
> means you will have to create a first scenario that runs the XQuery
> transformation for filling the DocBook 5 XML file with the details
> based on the processing instructions and a second scenario that
> applies the predefined DocBook PDF scenario to the result of the first
> scenario.
>
> You find details about transformation scenarios (create a scenario,
> chain some transformations in the same scenario, etc) and about the
> supported XQuery processors in the Oxygen User Manual:
I cannot find a way to chain transformation scenarios and execute them
in one step.
>
> If the XQuery processor does not have built-in support in Oxygen you
> can set it as custom processor in Oxygen and use it in a
> transformation scenario:
I know oXygen has support for eXist but is there a way to execute
XQeries withing oXygen locally without use of a server. Perhaps using
Saxon. All files that are to be queried are within the project or in the
same directory as the project. This way I can modify files and see the
end result right away without having to upload to server. I know i can
just edit files directly in eXist DB but that is not good enough. All my
XML files are to be under source control and thus have to be local (or
maybe WebDAV).

I am making my way through the Manuals ( i am looking at both Author and
Editor ) and if some of my questions are answered there then bare with
me and please point me there. By the way,  oXygen is by far one of the
best written apps I ever used ( appears to be very well designed and
thought through ). :)
>
> Please let us know if you have problems using any feature.
>
> Also you can set up an XProc scenario and run it as a single action
> from Oxygen with an integration of an XProc processor, as in Florent's
> example (he posted a message about it to this mailing list too):
>
> http://fgeorges.blogspot.com/2008/10/poor-mans-calabash-integeration-into.html
>
>
> http://fgeorges.blogspot.com/2008/11/xproc-with-xslt-completion-in-oxygen.html
>

Thanks. The sample from F. Georges really put the light on it. This
looks very promising. Actually I never heard of XProc before so I had to
go and research it a bit. To me it looks very similar (in concept) to
Apache Cocoon pipelines. I already have a working Cocoon pipeline that
takes main XML add more XML from XQuery then hands it off to XSL then to
FO Processor. The downside to this, is that after editing XML, you have
update XML DB on the server to get new results. I would rather have this
done all withing oXygen with a press of a button, at least for preview
purposes. Seems like XProc can do it for me. Now where do I find a good
tutorial for it. I need to know if it can for FO -> PDF transformations.



More information about the oXygen-user mailing list