xsl-list
[Top] [All Lists]

Re: [xsl] position() > 1 not working

2021-03-05 13:52:09
:face-palm::  That's a lot easier lol    

It's looking fine now, thanks :)

Michele


-----Original Message-----
From: Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 
Sent: Friday, March 5, 2021 2:38 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] position() > 1 not working

On 05.03.2021 20:22, Michele R Combs mrrothen(_at_)syr(_dot_)edu wrote:

Ah.  Ok, so if I understand correctly, I need to change the variable 
assignment to grab the position of the <DATA> element within the 
parent <ROW>, rather than within the for-each?  How would I do that?


I think what David tries to say is that you want e.g.
   ../../fmp:COL[3]/fmp:DATA[$parent-position + 1] instead of
   ../../fmp:COL[3]/fmp:DATA[$parent-position]

(and the same for the other values.)

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>