public function getAttribute($xpath, $name) { $this->highlight($xpath); return parent::getAttribute($xpath, $name); }