I think this would work for $i in xdmp:directory("/resources/") return fn:document-uri($i)
Gary Vidal American Lawyer Media Sr. .Net Developer Tel: 212-592-4946 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, July 20, 2007 3:00 PM To: general@developer.marklogic.com Subject: General Digest, Vol 37, Issue 13 Send General mailing list submissions to general@developer.marklogic.com To subscribe or unsubscribe via the World Wide Web, visit http://xqzone.com/mailman/listinfo/general or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of General digest..." Today's Topics: 1. query (Kalidasu Surada) 2. Re: query (Steve Christensen) 3. Re: query (Michael Blakeley) ---------------------------------------------------------------------- Message: 1 Date: Fri, 20 Jul 2007 13:15:21 +0530 From: "Kalidasu Surada" <[EMAIL PROTECTED]> Subject: [MarkLogic Dev General] query To: General@developer.marklogic.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi, I am getting list of document residing in a database through this query for $i in input() return document-uri($i) but wht the thing this i want to get the documents from particular folder. Could you please do the needfull hlep Thanks and Regards, Kalidasu Surada -------------- next part -------------- An HTML attachment was scrubbed... URL: http://xqzone.marklogic.com/pipermail/general/attachments/20070720/4e132 02b/attachment-0001.html ------------------------------ Message: 2 Date: Fri, 20 Jul 2007 10:33:46 -0600 From: Steve Christensen <[EMAIL PROTECTED]> Subject: Re: [MarkLogic Dev General] query To: General Mark Logic Developer Discussion <general@developer.marklogic.com> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii > Hi, > > I am getting list of document residing in a database through this query > > for $i in input() > return > document-uri($i) > > but wht the thing this i want to get the documents from particular folder. > If you are using ML 3.2, you can enable URI lexicons in your database and use the following function: http://xqzone.marklogic.com/pubs/3.2/apidocs/SearchBuiltins.html#uri-mat ch -Steve ------------------------------ Message: 3 Date: Fri, 20 Jul 2007 11:08:54 -0700 From: Michael Blakeley <[EMAIL PROTECTED]> Subject: Re: [MarkLogic Dev General] query To: General Mark Logic Developer Discussion <general@developer.marklogic.com> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="utf-8" See http://developer.marklogic.com/pubs/3.2/apidocs/Extension.html#directory -- Mike Kalidasu Surada wrote: > Hi, > > I am getting list of document residing in a database through this query > > for $i in input() > return > document-uri($i) > > but wht the thing this i want to get the documents from particular folder. > > Could you please do the needfull hlep > > > Thanks and Regards, > > Kalidasu Surada > > > > ------------------------------------------------------------------------ > > _______________________________________________ > General mailing list > General@developer.marklogic.com > http://xqzone.com/mailman/listinfo/general -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4532 bytes Desc: S/MIME Cryptographic Signature Url : http://xqzone.marklogic.com/pipermail/general/attachments/20070720/34110 8f4/smime-0001.bin ------------------------------ _______________________________________________ General mailing list General@developer.marklogic.com http://xqzone.com/mailman/listinfo/general End of General Digest, Vol 37, Issue 13 *************************************** _______________________________________________ General mailing list General@developer.marklogic.com http://xqzone.com/mailman/listinfo/general