I Read your blog. Idea is cool. But think of a huge XML document which is to be parsed with string search . But I am sure there is no donut for you in xsjs to parse the XML body freely(like DOM parser).May be you can try reguar expression matching or such complex stuffs to parse it and make a JSON out of it.
Sreehari