Problem in parsing xml to html
-
Hi, I have included the degree symbol in a xml file using ° and now i need to parse the contents in the xml file into a html file. After parsing the special character (°) is displayed as ° in html file. Vb code used for parsing: ------------------------- dim xmldom Set xmldom = CreateObject("Msxml2.DOMDocument.4.0") xmldom.load "C:\Tmp\sample.xml" If not xmldom is nothing then xmldom.save "C:\Tmp\sample.htm" msgbox "Html file written" End If Could any one help why the degree symbol is not get included in the html file correctly ?
-
Hi, I have included the degree symbol in a xml file using ° and now i need to parse the contents in the xml file into a html file. After parsing the special character (°) is displayed as ° in html file. Vb code used for parsing: ------------------------- dim xmldom Set xmldom = CreateObject("Msxml2.DOMDocument.4.0") xmldom.load "C:\Tmp\sample.xml" If not xmldom is nothing then xmldom.save "C:\Tmp\sample.htm" msgbox "Html file written" End If Could any one help why the degree symbol is not get included in the html file correctly ?
See: http://www.codeproject.com/script/Forums/View.aspx?fid=3421&msg=3023232[^]
"We make a living by what we get, we make a life by what we give." --Winston Churchill