This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Testing by counting or positional predicate
David Carlisle wrote:
>> count($node1|$node2) = 1
>>
>> or:
>>
>> not(($node1|$node2)[2])
>
> or generate-id($node1)=generate-id($node1)
Obviously :) That form seems (?) to have been superseded by the
Kaysian Intersection Method, or whatever you want to call it,
presumably because the two calls to generate-id() are fairly
expensive?
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list