Hello!
I found out that if XML file's attribute contains German special chars (chars
with umlaut, like: ???? - ä ü ö) then I get "undefined" answer
when I try to read an attributes value. I tryed to change XML file encoding to:
"UTF-8" and "iso-8859-1" but still no luck. "system.useCodepage = true; "
doesn't help as well :-/
The Feldkircher - 09 Nov 2007 09:33 GMT
Hi
Place your text in a CDATA node, I think this should work
Google CDATA for more info.
Hope it helps
zangbomm - 09 Nov 2007 12:16 GMT
Unfortunately I can't change XML files structure or add CDATA :-/ There are
other apps that generate and modify that XML file and the structure is hard
coded and I can't change it. Here is an example of that XML I'm using:
<?xml version="1.0" encoding="UTF-8"?>
<PERSONAL>
<Rida id="HARJ" N="K?tlinJ" Pilt="Pildid/Pole2.jpg"
Mail="Villane.Sokk@test.de" Amet="Peaspetsialist" Osakond="Test osakond"
Byroo="Kalevi b?roo" Koht="16" />
</PERSONAL>
All does work well as soon as I delete letters: "???" Somehow letter "?" is
ok. Also it works if I publish it for Flash Player 6. If I delete attribute
"Byroo" or just a letter "?" from this XML, it works like a charm.