Added another xml convenience method