Subject: [xsl] Re: From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Wed, 2 Jan 2002 12:37:30 -0500 |
======================================== 1. The rules for comparing a node-set to a boolean have changed. In XPath 1.0, an expression such as $nodeset=true() was evaluated by converting the node-set to a boolean and comparing the result: so this expression would return true if $nodeset was non-empty. In XPath 2.0, this expression is handled in the same way as other comparisons between a sequence and a singleton: it is true if $nodeset contains at least one node whose typed value is true. ----------------------------------------
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.ibiblio.org/xml/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | +----------------------------------+---------------------------------+
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: copying <xsl:stylesheet> , Dimitre Novatchev | Thread | RE: [xsl] Re: $nodeset=true(), Michael Kay |
Re: [xsl] Re: Assignment no, dynami, Gunther Schadow | Date | RE: For expressions and / operator , Michael Kay |
Month |