I thought that xsl:text as well as CDATA elements should preserve white
space contained within, however I had to find that only white space from
xsl:value-of makes it to the output.

<p><xsl:value-of select="'A'"/><![CDATA[ ]]><xsl:value-of select="'B'"/>
<xsl:value-of select="'C'"/><xsl:text> </xsl:text><xsl:value-of select="'D'"/>
<xsl:value-of select="'E'"/><xsl:value-of select="' '"/><xsl:value-of select="'F'"/>
<xsl:value-of select="'G'"/> <xsl:value-of select="'H'"/></p>

<p>ABCDE FGH</p>

Is this the expected and intended behaviour?

Regards
Tom



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to