Hi Bob,

MarkLogic has nice API documentation: 
http://developer.marklogic.com/pubs/4.0/apidocs/All.html

I think you are looking for xdmp:get-request-field: 
http://developer.marklogic.com/pubs/4.0/apidocs/AppServerBuiltins.html#xdmp:get-request-field

Kind regards,
Geert

>


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.


> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Runstein, Robert E. (Contr) (IS)
> Sent: donderdag 16 april 2009 15:43
> To: [email protected]
> Subject: [MarkLogic Dev General] Passing parameters to .xqy files
>
> HI,
>
> I have a Tomcat application that needs pass search criteria
> to MarkLogic and return the results.  What is the best way to
> handle this?  I am considering putting all the logic to
> create the xquery and execute it in .xqy files.  Tomcat would
> open a URL connection to MarkLogic and pass the search
> criteria in the query string and return the results in the
> HttpResponse.  How do I get access to the HttpRequest
> parameters within a .xqy file.  I'm very new to MarkLogic, so
> if this is totally the wrong approach, please advise a better
> way to do this.
>
> Best Wishes,
>
> Bob Runstein
>
>

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

Reply via email to