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

RE: how to select attribute value based on another attribute

Subject: RE: how to select attribute value based on another attribute value?
From: "Selva, Francis" <Francis.Selva@xxxxxxxxxxxxxxx>
Date: Thu, 13 Apr 2000 09:47:10 -0700
RE: how to select attribute value based on another attribute
Wendell,
      How can I check 2 conditions in one statement? 

<xsl:value-of select="COLUMN[@NAME='CHARGES']/VALUE"/> works for
name=CHARGES but if I want to check for both NAME=CHARGES OR NAME=COST how
can I do it?.It's giving me an error if I try to use | but I assume that Im
using it in a wrong way.

If Wendell's answering quota for today is over,then can someone help me in
this :)


Francis	

   





*****************************************************
The woods are lovely,dark and deep.         
But I have promises to keep,                      
And miles to go before I sleep                   
And miles to go before I sleep.                   
*****************************************************


> -----Original Message-----
> From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx]
 
> 
> 
> Igor:
> 
> Try (with ROW as your context node):
> 
> <xsl:value-of select="COLUMN[@NAME='CHARGES']/VALUE"/>
> 
 
> 


 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.