Hi,
You need to access an XML file from Java code? Having to write your own Java code is a bit unusual when using Orbeon Forms. Could you tell us ore about the use case that calls for Java code to be written? I am asking because there is maybe another simpler way to do this with Orbeon Forms.
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet