Check array
Switched BaseXMLReader to use DomDocument and to handle namespaces