Hi Florent, Here: http://developer.marklogic.com/pubs/4.1/apidocs/SequenceBuiltins.html#fn:doc
If you mean that it is non-conformant to the Xquery recommendation, you are probably right. You could also use collection() without argument, but that could be equally non-conformant. Must have checked that some while before, but don't recall whether it does or doesn't.. Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > Florent Georges > Sent: vrijdag 14 augustus 2009 17:48 > 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
