[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] xsl:if


Subject: [xsl] xsl:if
From: "anilbisht" <anilbisht@xxxxxxxx>
Date: Thu, 24 May 2001 20:46:08 +0530

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



Current Thread
Keywords
xml