This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE: Postional predicates de-mystified
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 4 Jan 2002 15:59:32 -0000
- Subject: RE: [xsl] RE: Postional predicates de-mystified
- Reply-to: xsl-list at lists dot mulberrytech dot com
> or I think just
>
> <xsl:value-of select=" for $i in ancestor::*/.
> return name(.)" separator = "/"/>
>
> as /. sorts into document order.
>
We're going to get 1000 people a week falling into the trap of using "."
within a "for" expression when they should use the range variable.
Congratulations on being the first.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list