public function __construct(\DOMElement $xml = null)
{
parent::__construct($xml);
if ($xml === null) {
return;
}
if ($xml->hasAttribute('Format')) {
$this->Format = $xml->getAttribute('Format');
}
if ($xml->hasAttribute('SPProvidedID')) {
$this->SPProvidedID = $xml->getAttribute('SPProvidedID');
}
$this->value = trim($xml->textContent);
}