Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: xml encoding of unicode characters xml encoding of unicode charactersTo: NULL Date: 1/27/2009 1:02:00 PM I have a xml generated with a unicode character: <name>Test Corp. 42 §§ 61 </name> When i transform the xml to HTML using XSL, it is adding an extra character: Welcome to Test Corp. 42 §§ 61 Complete xml: <?xml version="1.0" ?> <company> <name>Test Corp. 42 §§ 61 </name> </company> Xsl: <?xml version="1.0" encoding="utf-16" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" encoding="UTF-8" /> <xsl:template match="/"> <html> <head> </head> <body> <h2>Welcome to <xsl:value-of select="/company/name"/></h2> <p/> </body> </html> </xsl:template> </xsl:stylesheet> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
