cleanup xml value extraction
Merge pull request #3 from kmcminn/xpath-result-array

cleanup xml value extraction