Re: [xsl] Finding parent of the middle child

Subject: Re: [xsl] Finding parent of the middle child
From: "Sam D. Chuparkoff" <sdc@xxxxxxxxxx>
Date: Mon, 20 Jun 2005 16:11:26 -0700
On Mon, 2005-06-20 at 23:52 +0100, David Carlisle wrote:
>   (//rec_gear_sec/*)[$gearMid] is returning the very first child, even
>   though $gearMid returns 34. I wasn't even sure if that syntax would be
>   allowed in 1.0.
> 
> This is a FAQ.

Brook-- sorry for unthinkingly stripping out your 'position()='. But
hey, we got another faq out of it :).

sdc

Current Thread