If you are not in control of the response body, you could parse as text and use a RegEx to pull out the value you want, like this;
const response = pm.response.text();
console.log(response);
let formatMatch = new RegExp("<attr name=\"SI_ID\" type=\"integer\">(.*?)</attr>").exec(response);
pm.test("Validate id value", function () {
pm.expect(formatMatch, "Format does not match regular expression.").to.not.eql(null);
console.log("formatMatch = " + formatMatch[1]);
});
Yes it looks like that I cant parse the response body because of those href links. I cant control the response body. The RegExp is a good idea but would be easier the xml2Json stuff.
Thanks for the answer