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: "John McGowan" <john@xxxxxxxxxxx>
Date: Fri, 16 Mar 2007 21:48:09 -0500
On 3/16/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> I want to write a expression that does something like this...
>
> takes a sequence like this
>
> ("Page1","Page2","Page3")
>
> and outputs
>
> 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...

Thanks Michael

--
John McGowan
Seven A C Consulting, Inc.

Current Thread