Sorry, this is what to accomplish:
1.
<row>
<x>0</x>
</row>
<row>
<x>4</x>
</row>
<row>
<x>0</x>
</row>
The test should return FALSE
2.
<row>
<x>0</x>
</row>
<row>
<x>0</x>
</row>
<row>
<x>0</x>
</row>
The test should return TRUE.
That is, when ALL nodes have value of 0, I have to do something, and when at
least one x has a value different from 0, I want to do other thing. I want to
use <xsl:if>, not <xsl:choose>
Thanks
Jaime
-----Mensaje original-----
De: Jaime Stuardo
Enviado el: Miércoles, 08 de Junio de 2005 10:03
Para: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Asunto: [xsl] differences between x != 0 and not(x = 0)
Hi all..
I always forgot this thing.
If I want to test that all nodes has value different from 0, I have to
use x!=0 or not(x=0) ?
For example,
<row>
<x>0</x>
</row>
<row>
<x>4</x>
</row>
<row>
<x>0</x>
</row>
The test for the above example should return TRUE.
<row>
<x>0</x>
</row>
<row>
<x>0</x>
</row>
<row>
<x>0</x>
</row>
The test for the above example should return FALSE.
Thanks
Jaime
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--