IS there any plugin which would upload the XML file and parse the content of the file based on the XPath?
Discussion posts and replies are publicly visible
That's built in. Just upload a file and use the xpathdocument() function.
docs.appian.com/.../fnc_scripting_xpathdocument.html