RE: a key of attributes

Subject: RE: a key of attributes
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 29 Nov 2000 11:14:31 -0000
> 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

Mike Kay > 

 XSL-List info and archive:

Current Thread