|
Subject: Re: [xsl] concat all items in a sequence From: andrew welch <andrew.j.welch@xxxxxxxxx> Date: Tue, 30 Aug 2005 15:03:14 +0100 |
> > I'm using the following: > > > > contains(elem, val) > > > > It's possible that 'elem' can be a sequence of more than one item. > > > > The way I've code around this is to use string-join with an empty > > string as one of the arguments: > > > > contains(string-join(for $i in elem return $i, ''), val) > > > > Is there a better way? > > E.g. > > some $i in elem satisfies contains($i, val) Ahh yes, very nice, thanks Jarno.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] concat all items in a seq, Jarno.Elovirta | Thread | [xsl] Using a variable as part of t, Khorasani, Houman |
| RE: [xsl] concat all items in a seq, Jarno.Elovirta | Date | Re: [xsl] [XSL] copying namesapces , David Carlisle |
| Month |