All pastes #475195 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-07 09:22 UTC
rendered paste body
...
		$this->xdoc = new DOMDocument("1.0","UTF-8");
		//$xdoc->Load("../../catalog/42.svg");
		$this->xdoc->validateOnParse = true;
		$this->xdoc->Load("../..".$this->file_dir."/".$file);
		$this->svg = $this->xdoc->getElementsByTagName('svg')->item(0);
		echo "The element whose id is CarFront01 is: " . $this->xdoc->getElementById('CarFront01')->tagName . "\n";
...