New methods in XMLParser, more universal now