Hi,
I'm using Ant and I'm trying to delete a files' collection with a xquery file 
called with curl. (CleanUp.xqy)To test my file I started with CQ and everything 
was alright with the xquery.Then I tested the file with my browsers (tested on 
Firefox and Chrome)But when I call this file nothing happen, my  collection is 
still here.
My CleanUp file :
xquery version "1.0-ml";xdmp:collection-delete("Produtcs")
It's simple.
So i've tried another xquery  to see if it was my CleanUp file or something 
else :
xquery version "1.0-ml";for $x in //Productreturn $x/ProductId
This one was ok and return what I asked.
So I'm asking myself: Do I need something else with the xdmp function to be 
execute by a call? Is it possible to execute a deleting xquery, via a browser ?

For my test I tried on CQ before and the deleting query was ok (no more 
collection). Then I used this http://<servername>:9040/app/<namefile>.xqy in 
the browser to call them.
Thank you.
Kind regards,Arnaud
                                          
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to