[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Help Required On LOADXMLmethod of MSXML DOM

  • To: <xml-dev@l...>
  • Subject: Help Required On LOADXMLmethod of MSXML DOM
  • From: "asim" <qazi@a...>
  • Date: Thu, 13 Mar 2003 16:58:55 -0800

msxml loadxml
 
Qazi Asim
Developer Hosting Controller
http://www.asanquran.com
http://www.hostingcontroller.com
this is my XML packet
<data>
   <get-resellers>
        <get-resellers-recordrow>
            <get-resellers-name>家</get-resellers-name>
        </get-resellers-recordrow>
        <get-resellers-recordrow>
            <get-resellers-name>asim</get-resellers-name>
        </get-resellers-recordrow>
        <get-resellers-recordrow>
            <get-resellers-name>家</get-resellers-name>
        </get-resellers-recordrow>
</get-resellers>
</data>
 
 
this "家" is the utf-8 encoding of a japanese character (HOUSE), it was stroed in database, i query the DB and made the above packet,

Using MSXML Dom i transformed it on server and generated HTML,
i pass this XML packet as a string and load it  using "LoadXML" method of the parser,
the problem is as microsoft said that LoadXml method accepts only UTF-16 and UCS-2 encoding, when i generate HTML,  i can only see these characters "家" on the browser, which wre orignally stroed in the database

1) what is that problem
 
2) Secondly if i save this packet as.xml file and then load it Using "LOAD" method of the parser, i can see japanese characters fine in browser.

i cannot use "LOAD" method coz always i ll get the XML packet as a string
 
plz help, what should i do , y LOADXML is not working fine .
Qazi Asim
 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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