function processCurrResource()
 {
     if (!$this->currURI) {
         $this->currURI = $this->source->getAttribute('href');
     }
     return parent::processCurrResource();
 }
 function __init()
 {
     parent::__init();
     if (isset($this->source)) {
         $this->xpath = new DOMXPath($this->source);
     }
 }
 function __init()
 {
     parent::__init();
     $this->xpath = $this->a['xpath'];
 }
 function __init()
 {
     parent::__init();
     $this->ns['test'] = 'http://example.org/testNS/';
 }