[xquery-talk] xquery and collection()
philip.vallone at verizon.net
Tue Jul 15 19:03:05 PDT 2008
Thank you MIchael,
Using Saxon 220.127.116.11, could I use:?
let $docs:= collection("file:///c:/temp <BLOCKED::file:///c:/temp> ")
for $t in distinct-values($docs//:MELTITLE)
From: Michael Kay [mailto:mike at saxonica.com]
Sent: Tuesday, July 15, 2008 5:54 PM
To: 'Philip Vallone'; talk at x-query.com
Subject: RE: [xquery-talk] xquery and collection()
Yes, like all the core functions, collection() is available in both XSLT and
However, the specification of collection() leaves a great deal of discretion
to implementors, so you may well find that the collection URI is interpreted
in different ways in different products.
Incidentally, "c:/temp" is not a valid URI.
From: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] On Behalf
Of Philip Vallone
Sent: 15 July 2008 22:35
To: talk at x-query.com
Subject: [xquery-talk] xquery and collection()
Can you use collection() like in XSLT 2.0?
let $docs:= collection("c:/temp")
for $t in distinct-values($doc//TITLE)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk