XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
prasad ramaSubject: Encoding special charecters
Author: prasad rama
Date: 05 Feb 2009 06:17 PM
Hi,

I have an Xml file and an Xsl file.

In vb.net programming, I am trying to apply transformation to the Xml file with Xsl and write the resulting output to another new Html file.

I used <xsl:output method="html" encoding="utf-8"/> in Xsl and I used XmlTextWriter to write the output. I passed memorystream and Encoding.UTF8 as parameters to XmlTextWriter.

In the output, &#xa0; (which is &nbsp; in Html) displayed like 'Â' charecter.

Can anyone tell me what type of encoding we need to uise in this case.

Posttop
Ivan PedruzziSubject: Encoding special charecters
Author: Ivan Pedruzzi
Date: 05 Feb 2009 11:58 PM

Have you tried HtmlTextWriter?


Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.