Greetings,

I have the following situation:

let $var ...
for ...
where ...
return
                let $a ...
                let $b ...
                let $save := saveFunction($param)
                return ($a, anotherFunction($b)...)

That saveFunction is inserting a document...or supposed to.

What I've found is it doesn't actually insert the document unless I:

return $save

Why is that?  It matters in this situation because anotherFunction() depends on 
the document existing.

Thank you for any help,

-Chad
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to