initial code to parse XML from Fiji/Jython