Hi
I am a beginner to XML. I was trying to use in XSLT. But XSLT does not support . What should I use to put a space in XSLT.
Thanks in advance
Amit
Printable View
Hi
I am a beginner to XML. I was trying to use in XSLT. But XSLT does not support . What should I use to put a space in XSLT.
Thanks in advance
Amit
In any XML if you want to preserve space you should use the attribute xml:space="preserve"
<aaa xml:space="preserve"> </aaa>
The same with XSL:
<xsl:element name="aaa" xml:space="preserve"> -same spaces- <xsl:apply-templates select="*"/></xsl:element>