[MarkLogic Dev General] Not able to retrive content from uri
sokolov at ifactory.com
Sat Dec 5 07:08:39 PST 2009
These are actually being executed as a single transaction: updates aren't
visible until *after* the transaction completes. I think you could use ";"
instead of "," and get the result you're after
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Chowdhury,
Sent: Saturday, December 05, 2009 8:19 AM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] Not able to retrive content from uri
I have written two consecutive FLOWR expressions like the following,
let $a1 := "" return (xdmp:document-insert("/demo010",<a>data</a>)),
let $a2 := "" return (fn:doc("/demo010"))
The problem is the 2nd line returns an empty sequence, instead of the
content of the uri "/demo010"
How to resolve this problem? Any idea?
Thanks & Regards,
"This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing or
copying of this e-mail or any action taken in reliance on this e-mail is
strictly prohibited and may be unlawful."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General