XML is not objects
The nearest thing we have to a universal datatype is Unicode - or in programming language terms - the STRING datatype.
Sean McGrath writes eloquently and with great insight about The privilege of XML parsing - Data types, binary XML and XML pipelines. Via Cafe con leche