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
- Subject: RE: a key of attributes
- From: Sebastian Rahtz <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Wed, 29 Nov 2000 13:37:52 +0000
- References: <6B2A5AEA929FD411AE41009027CA88E31D43B7@WWMESSD048>
- Reply-To: xsl-list at mulberrytech dot com
Kay Michael writes:
> > 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.
easily fixed? or a deep dark problem?
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list