public function __construct(IDataSourceDriver $driver) { parent::__construct(new XmlDataSourceDriver($driver)); if (!function_exists('simplexml_load_file')) { throw new Exception('SimpleXML is required !'); } $this->_xpathExpression = $driver->getParameter(); }