|
Subject: Re: [xsl] things about grouping From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Thu, 29 Nov 2012 08:08:45 +0000 |
> Oh goodie - I can slip this in without having to start a new thread.
>
> Why do I have to write
>
> for $i in (1 to n) return "$1"
You probably meant return
for $i in (1 to n) return $i
(unless you really wanted to return the string "$1" n times)
>
> instead of
>
> (1 to n)/"$1!
You can now in 3.0 using the ! operator:
(1 to 5) ! concat('A', .)
returns A1 A2 A3 etc
--
Andrew Welch
http://andrewjwelch.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] things about grouping, Ihe Onwuka | Thread | Re: [xsl] things about grouping, Ihe Onwuka |
| Re: [xsl] things about grouping, Ihe Onwuka | Date | Re: [xsl] things about grouping, Andrew Welch |
| Month |