/** * First load and optionally validate the XML document */ // Create an InputStream from the XML document InputStream is = new FileInputStream("XPexample.xml");