function __construct() { $this->xml = null; $this->doc = null; $this->xpath = null; $this->errors = array(); }