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

RE: one element relative to another question

Subject: RE: one element relative to another question
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 28 Aug 2003 09:21:58 +0300
javascript pass element
Hi,

> How do I determine the value of TextRow/@value when I am 
> evaluating the
> DataRow/ColData/@values below? I need to see if the amount 
> will belong in my
> Current or 1-30 column of the xsl stylesheet. I am traversing 
> the elements
> in an alphabetical order so the orig order of the xml doc is 
> shot to hell,
> and I haven't the luxury of modifying format of below xml code..

I didn't understand your question completely, but if you want get the preceding TextRow value, then something like

  ../preceding-sibling::TextRow[1]/@value

will return it to you (the up-tree navigation depends of course on you current position). Anyhow, if that doesn't answer your question, show us the desired output from the example source.

Cheers,

Jarno

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.