[xquery-talk] map module for XQUERY ?

Liam R E Quin liam at w3.org
Wed Nov 27 00:51:37 PST 2013


On Wed, 2013-11-27 at 07:43 +0100, jean-marc Mercier wrote:
> [...] functions or nodes can
> not be accepted as keys,

How would you retrieve an item from a map if the key was a function? If
functions don't have identity how would you ensure keys were unique?

For a node you could maybe use generate-id() as a surrogate.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml



More information about the talk mailing list