XmlParser: add method getNames