Hi,
i am trying to transform a xml using xsl in asp.net page. my code like that.
it is working well however encoding of result XML is UTF-16. what i need is UTF-8
how can i set that parameter for UTF-8?
Thanks
i am trying to transform a xml using xsl in asp.net page. my code like that.
Code:
Dim bb = xmlhttp.responseXML.xml
Dim dok As New System.Xml.XmlDataDocument
dok.LoadXml(bb)
Dim trans As New System.Xml.Xsl.XslCompiledTransform
trans.Load(Server.MapPath("Trans.xsl"))
Dim rt As New System.IO.StringWriter
trans.Transform(dok, Nothing, rt)
TextBox2.Text = rt.ToString
how can i set that parameter for UTF-8?
Thanks