Added door support for XML