All pastes #475240 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-07 10:21 UTC
rendered paste body
	Function sterg_id($id){
		//stergere element in functie de id-ul din array
		foreach ($this->xdoc->getElementsByTagName('g') as $elem) {
			$elem->setIdAttribute("id", true);
		}
		$elem = $this->xdoc->getElementById($id);
			$this->xdoc->removeChild($elem);
	}