public function initFromXmlNode(DOMElement $node)
 {
     parent::initFromXmlNode($node);
     $this->userAnswerIndex = $node->hasAttribute('userAnswerIndex') ? $node->getAttribute('userAnswerIndex') : -1;
 }
 public function initFromXmlNode(DOMElement $node)
 {
     parent::initFromXmlNode($node);
     $this->userAnswer = trim($node->getAttribute('userAnswer'));
 }