[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: position() > 1 not working

Subject: Re: position() > 1 not working
From: "Michele R Combs mrrothen@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 5 Mar 2021 19:52:04 -0000
Re:  position() > 1 not working
:face-palm::  That's a lot easier lol

It's looking fine now, thanks :)

Michele


-----Original Message-----
From: Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, March 5, 2021 2:38 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  position() > 1 not working

On 05.03.2021 20:22, Michele R Combs mrrothen@xxxxxxx wrote:

> Ah.B  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?B  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.)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.