Subject: Re: Testing by counting or positional predicate
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Jan 2001 12:39:59 +0000
|
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
|