[xquery-talk] Add value to result before a for loop
David Lee
dlee at calldei.com
Wed Jul 18 12:54:16 PDT 2012
> I still wonder whether
>
> 'Id Name',
> $doc/item/concat(id, ' ', name)
>
> will always work, or if you might sometimes get CRLF separators, or
> spaces, or nothing at all
>
The output is guaranteed to be application specific.
If it is text serialized by a spec conforming XQuery processor then the 2 items will be space separated.
But no one said how the result is serialized. Up to the app ...
----------------------------------------
David A. Lee
dlee at calldei.com
http://www.xmlsh.org
More information about the talk
mailing list