I am using Saxon 9.1.0.3 to transform a xml. My xslt contains <xsl:text>Mystring</xsl:text> inside an attribute .
The value of attribute is rendered as " 
 Mystring 
" while debugging and " 
 Mystring 
" in html output.
Note that there is no space in between outer text nodes and string in the xslt. Also <xsl:value-of select="'Mystring'"/> solves the issue.
I am still confused as to what went wrong with the old code
No comments:
Post a Comment