This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: a key of attributes
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: a key of attributes
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 29 Nov 2000 11:14:31 -0000
- Reply-To: xsl-list at mulberrytech dot com
> I want to set up an XSLT key of attribute occurrences indexed by the
> name of the element they occur in, so I said
>
> <xsl:key name="atts" match="@*" use="name(..)"/>
A Saxon bug. When building the key index, it only looks at attribute nodes
if it recognizes the pattern as one that can match attribute nodes, and it's
failing to recognize this as such a pattern. I think it will also fail on a
union pattern such as match="@name | name". A simple match="@name" works
fine.
Mike Kay >
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list