I saw postings a few days ago about dynamic imports. I have had trouble w/ dynamically importing when running my app from a .jar file. For my little application invoking the following from within a function solved the problem.
execfile(FileToImportString, globals(), globals())
Bear in mind I'm a newbie at Jython and know nothing about XML.