[MarkLogic Dev General] question about document-load

Nuno Job nunojobpinto at gmail.com
Sat Oct 9 07:57:38 PDT 2010


Hi Helen,

Not sure if this is the officially recomended aproach but it should work:

xdmp:document-load('/test.xml',
  <options xmlns="xdmp:document-load">
    <collections>
    { for $c in xdmp:document-get-collections('/test.xml') return
<collection> {$c} </collection>}
    </collections>
  </options>

Nuno

On Fri, Oct 8, 2010 at 3:21 PM, helen chen <HCHEN at aip.org> wrote:

> ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20101009/2dc5719a/attachment.html 


More information about the General mailing list