dseaver
IS-IT--Management
- Jul 13, 2006
- 467
I get an XML back from a provider and I am transforming it into HTML to be displayed on a webpage. The problem is the provider uses the quotes and copyright symbol in the XML and they dont appear in the HTML for obvious reason. How can I check text parsed in the XSL template below to escape these characters so that they are displayed correctly on the page?
Code:
<xsl:template match="text()">
<xsl:value-of select="." />
</xsl:template>
[/code\]