[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: node is in a nodelist?
Subject: Re: 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?
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)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format