[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
DP's requirement statement could be read that way, but he also said the aim was to solve HT's problem, which doesn't involve nodes or node identity.
But for completeness, if you want to do this for node identity, you can use
test="$item intersect $seq"
Re: [xsl] HST's answers Re: [xsl] Efficient way to check sequence membership -
Subject: Re: [xsl] HST's answers Re: [xsl] Efficient way to check sequence membership - From: Michael Kay <mike@xxxxxxxxxxxx> Date: Thu, 03 Mar 2011 10:50:19 +0000 |
It seems the following expression can do checks based on node identity (I inferred this meaning from Dave's requirement... the "member()" function),
some $x in $seq satisfies ($x is $item)
DP's requirement statement could be read that way, but he also said the aim was to solve HT's problem, which doesn't involve nodes or node identity.
But for completeness, if you want to do this for node identity, you can use
test="$item intersect $seq"
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] HST's answers Re: [xsl] E, Mukul Gandhi | Thread | Re: [xsl] HST's answers Re: [xsl] E, Dimitre Novatchev |
Re: [xsl] HST's answers Re: [xsl] E, Mukul Gandhi | Date | [xsl] Problem accumulating values., Patricia Santana Cru |
Month |