Start of refactoring XmlArrayItem to XmlElement