private function convertNodeListToArray(DOMNodeList $nodeList)
    {
      $array = array();

      if(!is_null($nodeList) && $nodeList->length > 0)
      {
         foreach($nodeList as $node)
           array_push($array, $node);
      }

      return $array;
    }