private void createRoot(){
  root=doc.createElement("project");
  root.setAttribute("name",projectName);
  root.setAttribute("default","build");
  root.setAttribute("basedir",".");
  doc.appendChild(root);
}

private void createRoot ( ) { root = doc . createElement ( "project" ) ; root . setAttribute ( "name" , projectName ) ; root . setAttribute ( "default" , "build" ) ; root . setAttribute ( "basedir" , "." ) ; doc . appendChild ( root ) ; }
create project tag . < project name = " project_name " default = " build " basedir = " . " >
