[xquery-talk] Add value to result before a for loop

Michael Kay mike at saxonica.com
Wed Jul 18 13:43:11 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 serialization spec clearly says that the separator should be a 
single space character. There is a debate about providing alternatives, 
but that's the status quo.


Michael Kay
Saxonica


More information about the talk mailing list