How to format XQuery output?

gwlam12

Diamond Member
Apr 4, 2001
6,946
1
71
Say...

for $x in 1 to 10
return $x

I want it to output:

1
2
3
4
5
6
7
8
9
10

How would I go about doing that?

Right now it's 1 2 3 4 5 6 7 8 9 10

Probably an easy solution, but I'm new to this.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
hmmm? What language are you using and what does this have to do with xml?