Re: [xsl] node is in a nodelist?

Subject: Re: [xsl] node is in a nodelist?
From: Kai Hackemesser <kaha@xxxxxx>
Date: Tue, 19 Jun 2007 13:27:36 +0200
I understand. But with key() as nodelist this is less performant than David's solution, isn't it?

Ciao!
kai



Michael Kay schrieb:
How do I know in a easy way if a node is in a nodelist (for example returned by key())?

In XSLT 2.0: exists($node intersect $nodelist)


In 1.0: count($node | $nodelist) = count($nodelist)

Michael Kay
http://www.saxonica.com/

Current Thread