public function text($path=null, $pos=0) {
		if($path === null) {
			$res = '';
			foreach($this->items('/*') as $i)
				$res .= $i->text();
			return $res;
		}
		else
			return $this->item($path, $pos)->text();
	}