[Home] [By Thread] [By Date] [Recent Entries]
> 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
|

Cart



