Run go fmt
Remove unneeded if check around for loop
Correctly handle nodesets in XPathObjectToValue