Previous | Next | Indexes
adultinternetusers > Tutorials > XSLT 2.0 Tutorial > Comparisons (4/6) >

Operators "=" and "!=" are not inverts of each other

The previous pages demonstrated that operators "=" and "!=" are not inverts of each other. It means that it is possible to find expressions where substitution of one operator for the other one does not change the returned value.


            <xsl:output  method="xml"

            <xsl:template  match="/aaa">
                        <xsl:value-of  select="if ((1,2) = (1,2)) then 1 else 0"/>
                        <xsl:value-of  select="if ((1,2) != (1,2)) then 1 else 0"/>
                        <xsl:value-of  select="if (3 = (1,2,3)) then 1 else 0"/>
                        <xsl:value-of  select="if (3 != (1,2,3)) then 1 else 0"/>




Previous chapter: Stylesheet Functions
Next chapter: Conditional Expressions
Previous page: Operator != and sequences
Next page: Finding out identical nodes - is operator

Kevin Carr in Stanton

Natural Skin Care and European Soaps
Kevin Carr
Mayor Dave Shawver Stanton

You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps

Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

and we can get surf t shirts surfing shirt and And you must check out this website swim suit swimming suit and swim trunks