Article View: fr.comp.text.xml
Article #10077Difference entre load et laodXML de XMLDom
From: yc
Date: Mon, 18 Dec 2000 11:17
Date: Mon, 18 Dec 2000 11:17
21 lines
1628 bytes
1628 bytes
J'ai un probleme avec LoadXml il failed lorsque je lui passe une chaine du type str1 = "<MyTag>ma chaine avec un accent é qui foire</MyTag>" loadXML (str1) plante Pour parrer a ce pb j'ai ajouter ceci str2 = "<!DOCTYPE DTD[<!ENTITIES eacute "é">]>" loadXML (str2 & str1) Pareil... Pourtant si je sauve cela dans un fichier (str2 & str1) et que je laod le fichier par load(myfic) la ca marche !!!! KK1 a une explication ? au passage je cherche a comprendre les different UTF 16, 8, unicode et autre trucbidulleCODE, et comment faire pour passer de l'un a l'autre???? merci
Technical Details
Message-ID:
<0om%5.254$4g4.2840@tengri.easynet.fr>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!xfer13.netnews.com!netnews.com!isdnet!easynet-fr!tengri.easynet.fr!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit X-Google-Thread: 114f60,22e07573872326be,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2000-12-18 03:20:03 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!xfer13.netnews.com!netnews.com!isdnet!easynet-fr!tengri.easynet.fr!not-for-mail From: "yc" <ychambionnat@wis.fr> Newsgroups: fr.comp.text.xml Subject: Difference entre load et laodXML de XMLDom Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <0om%5.254$4g4.2840@tengri.easynet.fr> Date: Mon, 18 Dec 2000 12:17:52 +0100 NNTP-Posting-Host: 212.11.22.2 X-Complaints-To: abuse@easynet.fr X-Trace: tengri.easynet.fr 977138300 212.11.22.2 (Mon, 18 Dec 2000 12:18:20 MET) NNTP-Posting-Date: Mon, 18 Dec 2000 12:18:20 MET Organization: [Posted via] Easynet France