Re: [xsl] not()'ing a false variable, xalan 2.4.D1

Subject: Re: [xsl] not()'ing a false variable, xalan 2.4.D1
From: Elizabeth Barham <lizzy@xxxxxxxxxxxxxxxxx>
Date: 07 Nov 2002 21:22:09 -0600
David N Bertoni/Cambridge/IBM <david_n_bertoni@xxxxxxxxxx> writes:

> Since you only want a true value when there's a "y" element, this should
> work:
> 
>    <xsl:variable name="variable" select="boolean($node-set/y)"/>

That is an easier way.

> Or is this a simplification of what you're trying to do, and the
> selection criteria are more complex?

Yes and no - I was trying to do something that should have been easy
in a difficult way.

Thank you, everyone.

Yours, Greg's, and Ken's apt replies quickly put an end to my
misunderstandings.

Elizabeth

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


Current Thread