Subject: Re: [xsl] Capture stray carriage returns? From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 13 Mar 2024 23:29:50 -0000 |
Your question is very unclear, and you show no example. > <xsl:template match="text()" > > <xsl:value-of select="normalize-space()"/> > </xsl:template> that would match (and remove) all line ends which are necessarily part of text nodes, and so would remove all blank lines in the source. (assuming you do apply templates in that mode to all text nodes.) if you have blank lines in the output you are presumably adding them from some template you haven't shown as the above template will ensure eny line endings in the source are not copied. David David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Capture stray carriage re, dvint dvint@xxxxxxxx | Thread | Re: [xsl] Capture stray carriage re, Piez, Wendell A. (Fe |
Re: [xsl] Capture stray carriage re, dvint dvint@xxxxxxxx | Date | Re: [xsl] Capture stray carriage re, Piez, Wendell A. (Fe |
Month |