Replace xmldom dep with xmlshim. Remove xpath dep.