I haven't used Action script but Scala has really nice support for Xml - it is properly the only language that allows you to do pattern matching on XML.
Scala's creator is on record as regretting the inclusion of XML literals in the syntax of the language:
http://www.codecommit.com/blog/scala/working-with-scalas-xml...
Can't say I'm disappointed, back when I did twitter dev I used JSON for everything, plus it was really easy to interface with our JavaScript client (duh).