RE: key and document()

> 1. the description of xsl:key fails to specify where the nodes that
>    are being matched come from.  I assume that they are all the nodes
>    in the `primary' source document (does this also include attribute,
>    namespace, text and processing instruction nodes?)

No, they are the nodes of the document that contains the current node when
the key() function is invoked. But yes, they can be nodes of any type.

Mike Kay

Received on Monday, 23 August 1999 11:35:42 UTC