[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: one element relative to another question
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|