private void create(){
  DocumentBuilderFactory docBFac;
  DocumentBuilder docBuild;
  try {
    docBFac=DocumentBuilderFactory.newInstance();
    docBuild=docBFac.newDocumentBuilder();
    doc=docBuild.newDocument();
  }
 catch (  Exception ex) {
    ex.printStackTrace();
    return;
  }
  rootElement=doc.createElement("account-requests");
  doc.appendChild(rootElement);
  nonValidatedRequestsElement=doc.createElement("nonvalidated-requests");
  validatedRequestsElement=doc.createElement("validated-requests");
  rootElement.appendChild(nonValidatedRequestsElement);
  rootElement.appendChild(validatedRequestsElement);
  writeXMLFile();
}

private void create ( ) { DocumentBuilderFactory docBFac ; DocumentBuilder docBuild ; try { docBFac = DocumentBuilderFactory . newInstance ( ) ; docBuild = docBFac . newDocumentBuilder ( ) ; doc = docBuild . newDocument ( ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; return ; } rootElement = doc . createElement ( "account-requests" ) ; doc . appendChild ( rootElement ) ; nonValidatedRequestsElement = doc . createElement ( "nonvalidated-requests" ) ; validatedRequestsElement = doc . createElement ( "validated-requests" ) ; rootElement . appendChild ( nonValidatedRequestsElement ) ; rootElement . appendChild ( validatedRequestsElement ) ; writeXMLFile ( ) ; }
creates a new " account - request database " xml file
