[xquery-talk] xquery and collection()
Michael Kay
mike at saxonica.com
Tue Jul 15 23:54:21 PDT 2008
Yes, like all the core functions, collection() is available in both XSLT and
XQuery.
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.
Michael Kay
http://www.saxonica.com/
_____
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()
Hi,
Can you use collection() like in XSLT 2.0?
for example:
let $docs:= collection("c:/temp")
for $t in distinct-values($doc//TITLE)
return $t
Thanks
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20080715/1a2396d9/attachment.htm
More information about the talk
mailing list