This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: how to select attribute value based on another attribute value?


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@mulberrytech.com]
 
> 
> 
> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]