It's now possible to pass a ComplexModel to XmlData.

Handy for XmlData's with attributes.