dotnet xml:
Dear all,
I've spent a long time to try to get the xmldocument.load method=20
to handle UTF-8 characters, but no luck. Every time it loads a=20
document contains european characters (such as the one below, output=20
from google map API), it always said invalid character at position=20
229, which I believe is the "=DF" character.
Can anyone point me to the right direction of how to load such=20
documents using the xmldocument.load() method, or some other better=20
ways to do this?
Thanks!
---------------sample XML file------------------
<?xml version=3D"1.0" encoding=3D"UTF-8" ?>
- <kml xmlns=3D"
http://earth.google.com/kml/2.0"> - <Response>
<name>germaniastr 134, berlin berlin</name>
- <Status>
<code>200</code>
<request>geocode</request>
</Status>
- <Placemark>
<address>Germaniastra=DFe 134, 12099 Tempelhof, Berlin, Germany</
address>
- <AddressDetails Accuracy=3D"8"=20
xmlns=3D"urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
- <Country>
<CountryNameCode>DE</CountryNameCode>
- <AdministrativeArea>
<AdministrativeAreaName>Berlin</AdministrativeAreaName>
- <SubAdministrativeArea>
<SubAdministrativeAreaName>Berlin</SubAdministrativeAreaName>
- <Locality>
<LocalityName>Berlin</LocalityName>
- <DependentLocality>
<DependentLocalityName>Tempelhof</DependentLocalityName>
- <Thoroughfare>
<ThoroughfareName>Germaniastra=DFe 134</ThoroughfareName>
</Thoroughfare>
- <PostalCode>
<PostalCodeNumber>12099</PostalCodeNumber>
</PostalCode>
</DependentLocality>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>
- <Point>
<coordinates>13.399486,52.464476,0</coordinates>
</Point>
</Placemark>
</Response>
</kml>