Updates code to use XML package (https://pub.dartlang.org/packages/xml) and 
removes direct dependencies to PetitParser.