[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: Re: [xsl] How to select elements based on the value(s) of a multi-valued attribute?
Subject: Re: Re: [xsl] How to select elements based on the value(s) of a multi-valued attribute? From: "Rogier Hofboer" <hofboer@xxxxxxxxx> Date: Tue, 29 Jan 2002 09:10:07 +0100 |
Mike, A very clever solution. :-) Thank you very much! Rogier >Date: Mon, 28 Jan 2002 16:42:55 -0000 >From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> >Subject: RE: [xsl] How to select elements based on the value(s) of a multi-valued attribute? > >This is a good use case for the XSLT 2.0 support for sequence-valued >attributes! I suggest that for future transition to XML Schema you use a >space-separated list rather than comma-separated. > >Then (for XSLT 1.0) I suggest you use > >select="translation[ contains( > concat(' ', @language, ' '), > concat(' ', $language, ' ') )]" > >Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to select elements ba, Michael Kay | Thread | [xsl] Attribute value templates are, Mulberry Technologie |
RE: [xsl] FW: Path Reversal, Jarno . Elovirta | Date | [xsl] Re: RE: FW: Path Reversal, Dimitre Novatchev |
Month |
Keywords