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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--