How do I preserve HTML Entities when transforming from XML to HTML?
This is an open discussion with 3 replies, filed under Troubleshooting.
Search
Can you post the full XSLT here?
Allen and thewolf helped me figure this out. I had to change the output to HTML and the encoding has to be set to ISO-8859-1 instead of UTF-8.
Thanks again!!!
Create an account or sign in to comment.
I'm having great difficulty figuring out why after the transformation, my HTML entities are rendered in my HTML source code.
As you'll see in my XML (see attached), the XML has the HTML entities in them. Then when you look at the HTML code (see other attached), the entities are rendered in the code instead of preserving those entities in the HTML code.
Can anyone help me?
The XSL that I'm using is
<xsl:copy-of select="body/*>
Attachments