RE: [xsl] xsl:if

Subject: RE: [xsl] xsl:if
From: Richard Mitchell <Richard.Mitchell@xxxxxxxxxxxxx>
Date: Thu, 24 May 2001 16:45:26 +0100
<xsl:if test="@att1=@att2>
	Do stuff
</xsl:if>

HTH

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

> -----Original Message-----
> From: anilbisht [mailto:anilbisht@xxxxxxxx]
> Sent: 24 May 2001 16:16
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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


Current Thread
  • [xsl] xsl:if
    • anilbisht - Thu, 24 May 2001 20:46:08 +0530
      • <Possible follow-ups>
      • Richard Mitchell - Thu, 24 May 2001 16:45:26 +0100 <=