/**
* Constructor.
* @param string version of this XML document
* @param string encoding of this XML document
*/
public function __construct($version = '1.0', $encoding = '')
{
parent::__construct('');
$this->setVersion($version);
$this->setEncoding($encoding);
}