Update XMLTools.js

Fix copy paste error with xml string input