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 database. I can then use this id value to create links on the 
frontend to access these documents at a later stage for viewing/editing etc.
With Marklogic, I can insert the documents using XCC Java connector or even 
directly through XQuery pages but it does not return the id of the document 
which has been inserted. What would be a good way to realize something similar 
like getting ID of the document to link it back on the frontend? I can generate 
IDs myself and insert it in document but is that how everyone else would handle 
it?
 Thanks and regards,Amaresh Wakkar                                        
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to