I don't know anything about python, but if all you want to do is call an xquery 
script from python, can't you just make an http call from python to your xquery 
script?  For example, if you have an App Server on host "host1" running on port 
1234, you should be able to call my-script.xqy on that App Server by executing:

http:/host1:1234/my-script.xqy

Is there something like curl in Python?

-Danny

From: [email protected] 
[mailto:[email protected]] On Behalf Of Danny Sinang
Sent: Friday, June 01, 2012 2:45 PM
To: general
Subject: [MarkLogic Dev General] Executing an ML xquery script from a Python 
script

Anyone here know how to call an ML xquery script from within a Python script 
running on a Linux box ?

I looked at http://community.marklogic.com/code/libmlxcc but the comments on 
that page say that it's not that easy to set up.

Regards,
Danny


_______________________________________________
General mailing list
[email protected]
http://community.marklogic.com/mailman/listinfo/general

Reply via email to