Subject: Re: Comma operator returns a sequence of its items, or not?
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Sun, 27 May 2012 17:19:15 +0200
|
Thanks David,
I knew I was missing something obvious. I remember I wondered about this
a long time ago, and subsequently forgot about it again.
Seems to be in line with combining adjacent text nodes from an input
document.
Abel
On 27-5-2012 17:06, David Carlisle wrote:
> http://www.w3.org/TR/xslt20/#constructing-simple-content
>
>
> see point 2: adjacent text nodes are merged.
>
> If your function had returned strings or numbers then the separator
> would be used, but as text nodes are merged the generated sequence
> only has one item so the separator isn't used.
>
> David
|