Hi Gary,
Adrian asked me to help you further.
I'm afraid using our Java APIs from a plugin we do not have control to
allow a third party plugin to control where and how a resource is saved.
Maybe you can also look at other options Exist has for uploading content
to their database:
http://exist-db.org/exist/apps/doc/uploading-files.xml
like the section about "Uploading files with XQuery". Or ask around on
the Exist list, maybe there are ways to set this up on the server side
instead of using Oxygen to drive the transformation.
Regards,
Radu
Radu Coravu
Oxygen XML Editor
On 4/13/21 19:27, Gary Kopp wrote:
Thanks Adrian. Defining eXist WebDAV as a network drive is a great
option, and I’m embarrassed that I didn’t think of that – it’s pretty
obvious. If I want to take this to the next step (more automation), do
you know if transformation output/results are API-accessible using the
oXygen SDK?
--Gary
*From:* oXygen-user <oxygen-user-boun...@oxygenxml.com> *On Behalf Of
*Oxygen XML Editor Support (Adrian Buza)
*Sent:* Tuesday, April 13, 2021 7:36 AM
*To:* oxygen-user@oxygenxml.com
*Subject:* Re: [oXygen-user] Save via WebDAV
Hi,
Both the results and/or output of an Oxygen transformation are
designed to be saved locally.
So, no, there is no way to configure an Oxygen transformation scenario
to output the result to a remote location (this includes an eXist-db
database).
One trick you can use, if you have WebDAV enabled on your eXist-db
server, is to mount the WebDAV repository as a network drive (or as a
folder for Linux/macOS) and configure Oxygen to output to that mounted
location (as if it was local).
Regards,
Adrian
Adrian Buza
oXygen XML Editor and Author Support
On 12.04.2021 00:01, Gary Kopp wrote:
I must be missing something … this is too complicated. I’m using
oXygen with eXist-db. All I want to do is save the results of an
XQuery query to the eXist database as a new document in a direct a
way as possible. Saving the results from the results window only
seems to support the local filesystem. I can jump through a few
hoops and get the results transferred to an editing window where I
can “Save to URI” and ultimately get it sent out via WebDAV, but
the dialogs for that are ridiculously convoluted IMO. Am I missing
a more direct way?
--Gary Kopp
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com>
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
<https://www.oxygenxml.com/mailman/listinfo/oxygen-user>
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user