Subject: Re: [xsl] For-each adds whitespace per iteration: why? From: Eliot Kimber <ekimber@xxxxxxxxxx> Date: Fri, 10 Jan 2014 16:10:30 -0600 |
Note that I didn+IBk-t actually doubt the soundness of the spec+IBQ-the XSLT 2 spec is one of few standards whose soundness I accept as a given :-) I would have considered for-each-as-string-contatenation sound enough and was pleased to learn that it was better than that. Cheers, E. -- Eliot Kimber Senior Solutions Architect +ACI-Bringing Strategy, Content, and Technology Together+ACI- Main: 512.554.9368 www.reallysi.com www.rsuitecms.com On 1/10/14, 4:03 PM, +ACI-Imsieke, Gerrit, le-tex+ACI- +ADw-gerrit.imsieke+AEA-le-tex.de+AD4- wrote: +AD4-This is too rare a moment on any Internet forum: someone tries +AD4-something, +ACo-reads the spec+ACo-, doubts its soundness, asks questions, +ACo-gets +AD4-qualified answers+ACo-, +ACo-reads the spec again+ACo- +IBM- and ends up +ACo-enlightened+ACo-. +AD4-Then +ACo-shares his enlightenment process+ACo- with the forum. +AD4- +AD4-Thanks Eliot for sharing, thanks everybody for answering not only this +AD4-question, and thanks Tommie et al. +AEA- Mulberry Tech for xsl-list. +AD4- +AD4-Gerrit +AD4- +AD4-On 10.01.2014 21:55, Eliot Kimber wrote: +AD4APg- I think too I was still laboring under the XSLT 1 definition of +AD4APg- +ADw-xsl:value-of/+AD4-. Taking the time to re-read the definition of value-of +AD4APg-in +AD4APg- XSLT 2 I see that it explicitly generates text nodes. I don+IBk-t think I +AD4APg-ever +AD4APg- realized that before. +AD4APg- +AD4APg- This changes everything (at least in the way I approach constructing +AD4APg- result text). +AD4APg- +AD4APg- Cheers, +AD4APg- +AD4APg- Eliot +AD4APg- +AD4- +AD4---+AH4------------------------------------------------------------------ - +AD4-XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list +AD4-To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ +AD4-or e-mail: +ADw-mailto:xsl-list-unsubscribe+AEA-lists.mulberrytech.com+AD4- +AD4---+AH4--- +AD4-
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] For-each adds whitespace , Imsieke, Gerrit, le- | Thread | Re: [xsl] For-each adds whitespace , Liam R E Quin |
Re: [xsl] For-each adds whitespace , Imsieke, Gerrit, le- | Date | Re: [xsl] For-each adds whitespace , Liam R E Quin |
Month |