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 <[email protected]> wrote:

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

Reply via email to