Re: compare two lists

mozer <[email protected]> Sat, 14 Nov 2009 16:06:07 +0100
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
--===============0533734721==
Content-Type: multipart/alternative; boundary=000e0cd1465cac9d7b0478561d3f

--000e0cd1465cac9d7b0478561d3f
Content-Type: text/plain; charset=ISO-8859-1

It looks a perfect use case for High Order Function that are currently added
to next version of XPath 2 and XQuery 1

You can found similar construct in FXSL ( http://fxsl.sourceforge.net/ )
from our fellow Dimitre Novatchev

Hope this helps

Xmlizer

On Wed, Nov 11, 2009 at 10:41 PM, matthew abbott <[email protected]>wrote:

>  Is there a way with the exslt extentions to compare two lists?
>
> I have a list, a string "a,b" passed in as a parameter or variable and i
> have an attribute in my xml file
> <node list="a,b,c"/>
>
> i need to see if a or b is in the @list attribute
>
>
>
> ------------------------------
> Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign up
> now.<http://clk.atdmt.com/GBL/go/177141664/direct/01/http://clk.atdmt.com/GBL/go/177141664/direct/01/>
>
> _______________________________________________
> exslt mailing list
> [email protected]
> http://www.exslt.org/list
>

--000e0cd1465cac9d7b0478561d3f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

It looks a perfect use case for High Order Function that are currently adde=
d to next version of XPath 2 and XQuery 1<br><br><div>You can found similar=
 construct in FXSL ( <a href=3D"http://fxsl.sourceforge.net/">http://fxsl.s=
ourceforge.net/</a> ) from our fellow Dimitre Novatchev</div>
<div><br></div><div>Hope this helps</div><div><br></div><div>Xmlizer=A0<br>=
<div><br><div class=3D"gmail_quote">On Wed, Nov 11, 2009 at 10:41 PM, matth=
ew abbott <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">abbo=
[email protected]</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">



<div>
Is there a way with the exslt extentions to compare two lists?<br>
=A0<br>
I have a list, a string &quot;a,b&quot;=A0passed in as a parameter or varia=
ble and i have an attribute in my xml file <br>
&lt;node list=3D&quot;a,b,c&quot;/&gt;<br>
=A0<br>
i need to see if a or b is in the @list attribute<br><div class=3D"hm">
=A0<br>
=A0<br> 		 	   		  <br><hr>Hotmail: Trusted email with Microsoft&#39;s powe=
rful SPAM protection. <a href=3D"http://clk.atdmt.com/GBL/go/177141664/dire=
ct/01/http://clk.atdmt.com/GBL/go/177141664/direct/01/" target=3D"_blank">S=
ign up now.</a></div>
</div>
<br>_______________________________________________<br>
exslt mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"http://www.exslt.org/list" target=3D"_blank">http://www.exslt.or=
g/list</a><br></blockquote></div><br></div></div>

--000e0cd1465cac9d7b0478561d3f--

--===============0533734721==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
exslt mailing list
[email protected]
http://www.exslt.org/list
--===============0533734721==--