[jQuery] XML parsing tagnames with swedish characters

[jQuery] XML parsing tagnames with swedish characters


I'm trying to read an XML file from an external host with jQuery ajax
functions and parse it but I'm running into problems since the XML-
file has tags defined with swedish characters (åäö).
What I try to do is use a selector simmilar to:
$('basetag:has(TagWithSwedishSigns:contains(Value))', xml_data)
With all other tags this selector works but with tags with swedish
characters it fails. The XML-file itself is reported as valid XML so I
don't think it should fail? Am I doing something wrong or is the
problem with jQuery and parsing tags with swedish characters?
/Zheele