http://xqzone.marklogic.com/pubs/4.1/apidocs/SequenceBuiltins.html#fn:doc

Parameters:
$uri (optional): The URI of the document to retrieve. If you omit this 
parameter, returns all of the documents in the database - this is only allowed 
if you're not using xquery version 1.0 strict. If you specify a list of URIs, 
returns all of the documents at the URIs specified in the list.


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Florent Georges
Sent: Friday, August 14, 2009 11:48 AM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] RE: Multiple Results Retreived

Geert Josten wrote:

  Hi,

  Sorry to jump into the discussion several days after...

> The doc() function without arguments returns a node set of
> *all* database documents..

  Does it?  If I am right, the standard doc() function does only
exist in one arity: #1.  The parameter is optional, and if it is
the empty sequence, the result of the function must be the empty
sequence.  I could be wrong, of course.  Would you have a pointer
to the ML documentation about that?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/




















      

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to