I have an XMl where an attribute is e.g. model:name.
After upgrading to Grails 2, it fails to extract the attribute using
it.@"model:name".text()
I have read How to read the hyphenated attribute names (Eg. model_name) while parsing xml using XmlSlurper and followed the links too, but nothing points me towards documentation on how to handle coloned attributes.
Final solution for xml:lang attributes: it.attributes()['{http://www.w3.org/XML/1998/namespace}lang']