I'm parsing an XML file. I have code that deals with the file just fine...
DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
Document doc = dBuilder.parse(fXmlFile);
// and so on
However, the XML file is delivered in a ZIP. I have to unZIP it and run my code on the .xml file. What I would like to do is run my code against the .ZIP directly. I have tried any number of things using the Java ZipFile object but just cannot get it to work. What code do I need to read the file directly out of the ZIP file?