Page 1 of 1

Running XQueries on MarkLogic from oXygen

Posted: Sat Aug 09, 2008 7:28 pm
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.

Re: Running XQueries on MarkLogic from oXygen

Posted: Mon Aug 11, 2008 5:26 pm
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