/**
  * Create actions from XML
  *
  * @param  \SimpleXMLElement $sxe the API response
  *
  * @return $this
  */
 public function fromXML(\SimpleXMLElement $sxe)
 {
     $actions = array();
     $this->count = 0;
     foreach ($sxe->children() as $action) {
         $en = new Action();
         $en->fromXml($action);
         $actions[] = $en;
         ++$this->count;
     }
     $this->setData($actions);
     return $this;
 }