simplify some of the xpaths (make them less ambiguous), and use direct element traversal for scope/version of dependencies.