static public function read($file) {
		if (! $file instanceof FileInterface) {
			$file = new File($file);
		}
		
		return static::parse($file->getContent());
	}
static public function read($file) {
		if (! $file instanceof FileInterface) {
			$file = new File($file);
		}
		
		return static::parse($file->getContent());
	}
static public function read ( $ file ) { if ( ! $ file instanceof FileInterface ) { $ file = new File ( $ file ) ; } return static :: parse ( $ file -> getContent ( ) ) ; }
Read and parse XML from file

@param  File | string $file
@return Element
Read and parse XML from file