Re: [oXygen-user] Save via WebDAV

2021-04-14 Thread Oxygen XML Editor Support (Radu Coravu)

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  *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


Re: [oXygen-user] Save via WebDAV

2021-04-13 Thread Gary Kopp
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  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

 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Save via WebDAV

2021-04-13 Thread Oxygen XML Editor Support (Adrian Buza)

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
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Save via WebDAV

2021-04-13 Thread catalin f
Hi, first of all please keep in mind that I’m a newbie and I’m using oXygen
for editing ebooks, not for its more advanced features related to XML,
XQuery etc.

But I did find an answer which might apply to you. In short, you need to
ignore the results window, and edit the XQuery transformation scenario
instead so that it outputs to a file (Save as in the Output tab), making
sure to use the proper Editor Variables for the db path.

Until someone more knowledgeable chips in, check these out and see if they
help:
https://www.oxygenxml.com/forum/topic9914.html
https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/output-xml-xquery.html
https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/editor-variables.html

All the best,
Cătălin

On Mon, Apr 12, 2021 at 12:01 AM 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
> 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] Save via WebDAV

2021-04-11 Thread Gary Kopp
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
https://www.oxygenxml.com/mailman/listinfo/oxygen-user