the Xml file:
<?xml version="1.0" encoding="GB2312"?>
<root url="http://ehomeserver/Inside/">
<PageIndex title="&#26032;&#38395;" path="xw" ver="14"/>
<PageIndex title="&#23089;&#20048;" path="yl" ver="14"/>
<PageIndex title="&#35745;&#31639;&#26426;" path="jsj" ver="14"/>
<PageIndex title="&#20307;&#32946;" path="ty" ver="23/"/>
<PageIndex title="Update" path="Update" ver="0"/>
<PageIndex title="Adbanner" path="Adbanner" ver="0"/>
</root>
when run the Demo Project(Simple Parsing Demo),it
report :
[Element] root
[Fatal Error]Invalid character Line 3 Column 23
it is OK,when use MSXML parser.
I am in China,so use B2312 Encode.Run it in Delphi7
GodenJan,Happy programming to you!!!
E-mail : zmxjh@21cn.com
Logged In: NO
I Use SAX for Pascal 1.1
Logged In: YES
user_id=290026
It depends on the SAX vendor if it can parse B2312.
I think only MSXML can deal with your encoding.