/**
  *Function to fetch all get_xml_details 
  *@param xml file name
  *@param return excluded post_array
  **/
 public function get_xml_details($get)
 {
     $all_arr = array();
     if (isset($get) && $get != '') {
         $filename = $this->convert_string2hash_key($get);
     }
     $file = $this->getUploadDirectory() . '/' . $filename;
     $fileexists = file_exists($file);
     if (isset($fileexists)) {
         $mycls = new Knol_WXR_Parser();
         $all_arr = $mycls->parse($file);
     }
     return $all_arr;
 }
 /**
  * Parse a WXR file
  *
  * @param string $file Path to WXR file for parsing
  * @return array Information gathered from the WXR file
  */
 function parse($file)
 {
     $parser = new Knol_WXR_Parser();
     return $parser->parse($file);
 }