This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: a key of attributes


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]