Testing xml2
Some minor modifications;
Added necessary dependencies or xml2