xsl-list
[Top] [All Lists]

Re: [xsl] For-each adds whitespace per iteration: why?

2014-01-10 16:03:44
This is too rare a moment on any Internet forum: someone tries something, *reads the spec*, doubts its soundness, asks questions, *gets qualified answers*, *reads the spec again* – and ends up *enlightened*. Then *shares his enlightenment process* with the forum.

Thanks Eliot for sharing, thanks everybody for answering not only this question, and thanks Tommie et al. @ Mulberry Tech for xsl-list.

Gerrit

On 10.01.2014 21:55, Eliot Kimber wrote:
I think too I was still laboring under the XSLT 1 definition of
<xsl:value-of/>. Taking the time to re-read the definition of value-of in
XSLT 2 I see that it explicitly generates text nodes. I don’t think I ever
realized that before.

This changes everything (at least in the way I approach constructing
result text).

Cheers,

Eliot


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--