Friday, 12 September 2014



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 " &#xA; Mystring &#xA;" while debugging and " &#10; Mystring &#10;" 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