The easiest fit is http://docs.marklogic.com/xdmp:node-uri - but you could also refactor to use http://docs.marklogic.com/cts:uris
-- Mike On 29 Jun 2013, at 15:39 , Michael Malgeri <[email protected]> wrote: > Hi, > > Hopefully an easy question. > > If I run the following code in the Query Console, the <Make> tag and its > contents are displayed for the documents in the collection "tweets" > > xquery version "1.0-ml"; > for $doc in fn:collection('tweets') > return > $doc//Make > > Here is the output > > <results warning="more than one root item"> > <Make>Honda</Make> > <Make>Ford</Make> > </results> > > The question is, how do I display just the list of documents in this > collection, such as > > /truecarcsvcomma2/027cd7200a0a00de0109b4cbb3761e64.xml > /truecarcsvcomma2/027cd7200a0a00de0109b4cbb4571e64.xml > Etc. > > Michael Malgeri > Principal Technologist > MarkLogic Corporation > [email protected] > Cell: 1 310 704 6403 > www.marklogic.com > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
