xsl-list
[Top] [All Lists]

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

2002-11-07 20:22:09
David N Bertoni/Cambridge/IBM <david_n_bertoni(_at_)us(_dot_)ibm(_dot_)com> 
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