Changed to the more general XmlElement