Running XQueries on MarkLogic from oXygen

Oxygen general issues.
abcoates
Posts: 26
Joined: Fri Mar 24, 2006 7:45 am
Location: London, UK

Running XQueries on MarkLogic from oXygen

Post by abcoates »

I'm trying to understand how I can run an XQuery within a MarkLogic database, but launched from within oXygen. What is the right way to do that? I see that an XQuery can be run in MarkLogic using the debugger, but what do you do if you don't need debugging, you just want to run it? It wasn't obvious to me from the limited oXygen documentation on working with MarkLogic. Thanks very much in advance for any help or advice,

Cheers, Tony.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Running XQueries on MarkLogic from oXygen

Post by sorin_ristache »

Hello,

You run an XQuery against a MarkLogic server in the same way as you run any XQuery in Oxygen: with an XQuery transformation scenario. In the section Transforming XML Documents Using XQuery of the User Manual you can read that you can set a database connection for running the XQuery transformation. There are video demonstrations about running an XQuery against an Oracle server and against an eXist database. In the case of the MarkLogic server only the engine is different, that is your MarkLogic connection configured in Preferences.


Regards,
Sorin
Post Reply