Hi Pradeep, Take a look at xdmp:unpath:
http://developer.marklogic.com/pubs/4.0/apidocs/Extension.html#xdmp:unpath regards, Pete -----Original Message----- From: [email protected] on behalf of Pradeep Maddireddy Sent: Fri 2/13/2009 8:09 AM To: [email protected] Subject: [MarkLogic Dev General] xpath as parameter to xquery function Hi..! declare function ret-node($xpath as xs:string) { fn:doc("/abc.xml")$xpath } Is it possible to send xpath as a parameter to a xquery module and run it against a document. Thanks in advance. Regards, Pradeep Maddireddy
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
