This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Testing position of parent
- To: xsl-list at mulberrytech dot com
- Subject: Re: Testing position of parent
- From: Sebastian Rahtz <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Wed, 25 Oct 2000 16:46:01 +0100
- References: <Pine.GSO.4.10.10010251125450.6314-100000@mama.stg.brown.edu>
- Reply-To: xsl-list at mulberrytech dot com
Paul Caton writes:
>
> <xsl:when test="parent::lg[position()=1]">
>
surely this means "the first of my parent <lg> elements"? obviously,
since every <l> has only one <lg> element, it always succeeds.
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list