[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
John McGowan wrote:
FYI:
<xsl:value-of select="('Page1', 'Page2', 'Page3')" separator=">" />
does just about the same as string-join. Depending on context, either can be more suitable, of course.
-- Abel
Re: [xsl] Fwd: XSLT 2.0 Determining Position of Sequence Item During "for expression" evaluation
Subject: Re: [xsl] Fwd: XSLT 2.0 Determining Position of Sequence Item During "for expression" evaluation From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Sun, 18 Mar 2007 17:45:50 +0100 |
John McGowan wrote:
On 3/16/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:> > Page1 > Page2 > Page3 >
string-join(("Page1","Page2","Page3"), ' > ')
Ah Ha.. now that's an elegant way of doing it... I hadn't come across the string-join function... makes the "for" expression unnecessary...
FYI:
<xsl:value-of select="('Page1', 'Page2', 'Page3')" separator=">" />
does just about the same as string-join. Depending on context, either can be more suitable, of course.
-- Abel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Fwd: XSLT 2.0 Determining, John McGowan | Thread | Re: [xsl] Fwd: XSLT 2.0 Determining, Dimitre Novatchev |
Re: [xsl] FizzBuzz in XSLT 1.0. Hel, Dimitre Novatchev | Date | [xsl] [Fwd: Excluding unused and du, Ryan Puddephatt |
Month |