[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple attribute values in XSL
- From: "Christopher R. Maden" <email@example.com>
- To: firstname.lastname@example.org
- Date: Wed, 20 Jun 2001 14:21:18 -0700
This post is more appropriate for the XSL list; please follow up there.
At 08:04 20-06-2001, Lyndon J B Nixon wrote:
>thanks for the earlier help on this query. however i have (typically) come
>up against another problem:
>i actually want to split the attribute values on the basis of whitespace
><myElement myValues="1 2 3 4 5" />
>needless to say, using substring-before and substring-after with
>($myValuesString,' ') does not work.
Far from needless: that is exactly what you should be doing. What doesn't
work about it? You can only get one token at a time, but XSLT provides
plenty of recursion to help you out.
Christopher R. Maden, XML Consultant
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA