This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:if
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xsl:if
- From: Richard Mitchell <Richard dot Mitchell at vbnonline dot com>
- Date: Thu, 24 May 2001 16:45:26 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
<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