[MarkLogic Dev General] Way to realize auto-increment id feature in Marklogic

2011-12-01 Thread Amar Wakkar
Dear all, I want to insert a couple of XML documents in the Marklogic database which are formed based on the HTTP form submission. In normal RDBMS, I would have inserted those in a table which has auto-increment id column which will return me the id of the latest column inserted into the datab

Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-15 Thread Amar Wakkar
c > than "Re: Contents of General digest..." > > > Today's Topics: > >1. Re: Retrieving file name/document URI of binary content > (Amar Wakkar) > > > -- > > Message: 1 >

Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-14 Thread Amar Wakkar
document-uri but it might not know it ) David A. Lee Senior Principal Software Engineer Epocrates, Inc. d...@epocrates.com 812-482-5224 From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Amar

Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-14 Thread Amar Wakkar
kLogic Dev General] Retrieving file name/document URI of binary content You might try using the xdmp:node-uri function instead of document-uri. -Danny From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Amar Wakkar Sent: Monday, November 1

Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-14 Thread Amar Wakkar
From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Amar Wakkar Sent: Monday, November 14, 2011 3:20 PM To: general@developer.marklogic.com Subject: Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content H

Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-14 Thread Amar Wakkar
crates.com 812-482-5224 From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Amar Wakkar Sent: Monday, November 14, 2011 2:42 PM To: general@developer.marklogic.com Subject: Re: [MarkLogic Dev General] Retrieving file name/document URI

Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-14 Thread Amar Wakkar
ic.com] On Behalf Of Amar Wakkar Sent: Monday, November 14, 2011 2:42 PM To: general@developer.marklogic.com Subject: Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content Hello David, No luck, I am getting following error when I try your

Re: [MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-14 Thread Amar Wakkar
@developer.marklogic.com] On Behalf Of Amar Wakkar Sent: Monday, November 14, 2011 9:27 AM To: general@developer.marklogic.com Subject: [MarkLogic Dev General] Retrieving file name/document URI of binary content Dear all, I am learning ways of doing things in Marklogic server. I ha

[MarkLogic Dev General] Retrieving file name/document URI of binary content

2011-11-14 Thread Amar Wakkar
Dear all, I am learning ways of doing things in Marklogic server. I have managed to save a collection to Marklogic server which consists of few .gif images. The document URI's are the actual file names when I stored them in collection e.g. image1, image2 etc..The collection is named "imageColle