= vs == (was RE: )

Subject: = vs == (was RE: )
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Tue, 23 Nov 1999 17:36:21 -0700
Guy Pirostsky wrote:
> [Given:]
> <COMPONENT NAME="name1" VIEW="view1">
> 
> [These work:]
> <xsl:template match="COMPONENT[@VIEW='view1']" >
> <xsl:template match="COMPONENT[@NAME=='name1']" >

The second one should not work.
== is not a valid comparison operator.

> [This doesn't work:]
> <xsl:template match="COMPONENT[@NAME=='name1' and @VIEW='view1']" >

See above. Please use more constructive subject lines when posting to the
list.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread