Re: [basex-talk] Fwd: concat string in for loop

2013-01-02 Thread Christian Grün
Cześć, Jaroslwy, as XML serialization was originally not built for outputting text, the handling of whitespaces is a little tricky. However, you can benefit from the new XQuery 3.0 "item-separator" output option: declare option output:item-separator '\n'; concat("text",' ',"additional text"),

[basex-talk] Fwd: concat string in for loop

2013-01-02 Thread Jarosław Kowalewski
Hi, I've a problem with concatation strings in for loop. e.g. xquery concat("text",' ',"additional text"), ' ', ' ', for $i in element-aelement-b/* return concat($i,' ') give me the result " text additional text element-a element-b " with additional space before "element-a" and "element