protected function startNewElement($fileEl) {
		$this->currentElement = $this->document->createElement("file");

		// remove the "./" at the beginning ot the path in case of relative path
		if (substr($fileEl, 0, 2) === './') {
			$fileEl = substr($fileEl, 2);
		}
		$this->currentElement->setAttribute("name", $fileEl);
	}
protected function startNewElement($fileEl) {
		$this->currentElement = $this->document->createElement("file");

		// remove the "./" at the beginning ot the path in case of relative path
		if (substr($fileEl, 0, 2) === './') {
			$fileEl = substr($fileEl, 2);
		}
		$this->currentElement->setAttribute("name", $fileEl);
	}
protected function startNewElement ( $ fileEl ) { $ this -> currentElement = $ this -> document -> createElement ( "file" ) ; // remove the "./" at the beginning ot the path in case of relative path
 if ( substr ( $ fileEl , 0 , 2 ) === './' ) { $ fileEl = substr ( $ fileEl , 2 ) ; } $ this -> currentElement -> setAttribute ( "name" , $ fileEl ) ; }
Creates a new file element.

@param string file
Creates a new file element .