How to parse a tag which can have multiple names. Specifically for example: For a tag named "link:Stat" some of my XML documents have fully qualified name: \<link:Stat\></link:Stat> some of my XML documents just have: \<Stat\>\</Stat\> without the namespace No document has both formats. I want them to be mapped to the same single property: val stat: Stat How can I achieve this? Thanks!