question: private static Element loadDocument ( URL location ) throws WebAppConfigurationException { try { Document document = UtilXml . readXmlDocument ( location , true ) ; Element rootElement = document . getDocumentElement ( ) ; if ( Debug . verboseOn ( ) ) Debug . logVerbose ( "Loaded XML Config - " + location , module ) ; return rootElement ; } catch ( Exception e ) { Debug . logError ( e , module ) ; throw new WebAppConfigurationException ( e ) ; } }
target:  Loads the XML file and returns the root element 