Subject: Re: Filtering sequences of atomic types
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 27 Nov 2008 20:31:03 +0000
|
> Or would this work even better for you:
>
> <xsl:for-each select="//@xml:id[.=$string-sequence]">
It's possible (and preferable) to write that as:
<xsl:for-each select="id($string-sequence)">
isn't it?
I've never used it but it worked in a quick sanity test I just did....
It's a bit like passing a sequence to key()
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
|