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: xsl:if


<xsl:if test="@att1=@att2>
	Do stuff
</xsl:if>

HTH

Richard Mitchell
Software Developer
http://www.vbnonline.com/

> -----Original Message-----
> From: anilbisht [mailto:anilbisht@infy.com]
> Sent: 24 May 2001 16:16
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] xsl:if 
> 
> 
> how do i write if strtement if there are both the side of the 
> = sign are
> variables
> 
> suppose i have a xml string as 
> <test att1="1" att2="2">
> 
> now i ahve to do somthing as if att1=att2 then do somthing
> 
> but this 
> <xsl:if test="@att1[.=@att2]"> dosent work  so how do i get this ???
> 
> thanks and regards
> anil
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 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]