Subject: Re: [xsl] HST's answers Re: [xsl] Efficient way to check sequence membership - From: ht@xxxxxxxxxxxx (Henry S. Thompson) Date: Thu, 03 Mar 2011 09:32:45 +0000 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave Pawson writes: > On Thu, 03 Mar 2011 09:15:01 +0000 > Michael Kay <mike@xxxxxxxxxxxx> wrote: > >> >> > Does xslt version next have the member() function Mike? >> > All these node functions, member seems a fairly obvious one? >> > >> > >> What would you expect the member() function to do? > > Solve Henrys problem? Return true if the item is a member > of the set of nodes. As David Carlisle pointed out, '=' already supplies that functionality. If I had a request for v.next, it would be to expose support for hash arrays. They are sort-of implicit in xsl:key, but making them explicit would remove the necessity in my case for constructing a set of elements to hold the keys. ht - -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht@xxxxxxxxxxxx URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFNb2BAkjnJixAXWBoRAs0TAJ9LZHaV6evFVI2gf5j2FOa6HOGKkQCfWuKR nEiPoV/QuPmx81vGwkxOVVI= =/DSU -----END PGP SIGNATURE-----
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] HST's answers Re: [xsl] E, Dave Pawson | Thread | Re: [xsl] HST's answers Re: [xsl] E, Michael Kay |
Re: [xsl] HST's answers Re: [xsl] E, Dave Pawson | Date | Re: [xsl] HST's answers Re: [xsl] E, Michael Kay |
Month |