my xml
<user>
<name>John</name>
<surname>Doe</surname>
</user>
my xslt
<xsl:template match="user">
<xsl:value-of select="name"/> <xsl:value-of select="surname"/>
</xsl:template>
I want to preserve the space between the two "value-of" =
I want the output to be John Doe
and not JohnDoe
.
Can I do it without adding
<xsl:text> </xsl:text>
?