protected function setFileAttribute($name, $value)
    {
        $file = $this->getXPathFirstItem('/xliff:xliff/xliff:file');
        $this->setAttribute($file, $name, $value);
    }
protected function setFileAttribute($name, $value)
    {
        $file = $this->getXPathFirstItem('/xliff:xliff/xliff:file');
        $this->setAttribute($file, $name, $value);
    }
protected function setFileAttribute ( $ name , $ value ) { $ file = $ this -> getXPathFirstItem ( '/xliff:xliff/xliff:file' ) ; $ this -> setAttribute ( $ file , $ name , $ value ) ; }
Sets the given attribute in the XML element "file" to the given value.

@param string $name  The name of the attribute to set.

@param string $value The language code from ISO 639-1.

@return void
Sets the given attribute in the XML element file to the given value .