This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: How to select elements based on the value(s) of a multi-valued attribute?


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@ntlworld.com>
>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]