Use pugixml for stages.xml