Re: Re: [xsl] Thought i knew this but i guess not

Subject: Re: Re: [xsl] Thought i knew this but i guess not
From: Liam R E Quin <liam@xxxxxx>
Date: Tue, 22 Feb 2011 18:54:31 -0500
On Tue, 2011-02-22 at 16:19 -0600, russurquhart1@xxxxxxxxxxx wrote:
> I used contains because filter could have the value
> filter="filter1,filter10,filter2" and i thought having a
> @filter='filter1' would fail for the previous string. If that is not
> the case, i'll change it, but i thought i tried that one time and it
> didn't work.

You want contains(concat(",", @filter, ","), ",filter1,") probably.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

Current Thread