private XMLElement newElement(String name,String value,ArrayList attributes) throws Exception {
  return newElement(name,value,attributes,false);
}

private XMLElement newElement ( String name , String value , ArrayList attributes ) throws Exception { return newElement ( name , value , attributes , false ) ; }
factory method for creating a new element with the given name , given value and given attributes . the value and the attributes may be null .
