W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1999

RE: key and document()

From: Kay Michael <Michael.Kay@icl.com>
Date: Mon, 23 Aug 1999 11:54:06 +0100
Message-ID: <93CB64052F94D211BC5D0010A800133170F042@wwmess3.bra01.icl.co.uk>
To: "'xsl-list@mulberrytech.com'" <xsl-list@mulberrytech.com>, xsl-editors@w3.org
> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:17 UTC