protected function _prepareAnswerText(XmlElement $answer)
 {
     $text = $answer->getAttribute('Text');
     if ($this->_isPrice()) {
         $id = $answer->getAttribute('Id');
         if (preg_match('@^_P(\\d+)_(\\d+)$@', $id, $matches)) {
             $text = str_replace('<min>', $matches[1], $text);
             $text = str_replace('<max>', $matches[2], $text);
         }
     }
     return $text;
 }
 protected function _sortingOptionsToHandleString(XmlElement $xml)
 {
     $params = array($xml->getAttribute('Ascending') == 'true' ? '1' : '0', $xml->getAttribute('NumericSort') == "true" ? '1' : '0', $this->_sortMethodToInt($xml->getAttribute('Method')), $xml->getAttribute('FieldName'));
     return implode('^', $params);
 }