original_string: public function process_category($xml, &$questions) {
          $title = $this->getpath($xml, array('questestinterop', '#', 'assessment', 0, '@', 'title'), '', true);
  
          $dummyquestion = new stdClass();
          $dummyquestion->qtype = 'category';
          $dummyquestion->category = $this->cleaninput($this->clean_question_name($title));
  
          $questions[] = $dummyquestion;
      }
code: public function process_category($xml, &$questions) {
          $title = $this->getpath($xml, array('questestinterop', '#', 'assessment', 0, '@', 'title'), '', true);
  
          $dummyquestion = new stdClass();
          $dummyquestion->qtype = 'category';
          $dummyquestion->category = $this->cleaninput($this->clean_question_name($title));
  
          $questions[] = $dummyquestion;
      }
code_tokens: public function process_category ( $ xml , & $ questions ) { $ title = $ this -> getpath ( $ xml , array ( 'questestinterop' , '#' , 'assessment' , 0 , '@' , 'title' ) , '' , true ) ; $ dummyquestion = new stdClass ( ) ; $ dummyquestion -> qtype = 'category' ; $ dummyquestion -> category = $ this -> cleaninput ( $ this -> clean_question_name ( $ title ) ) ; $ questions [ ] = $ dummyquestion ; }
docstring: Add a category question entry based on the assessment title
  @param array $xml the xml tree
  @param array $questions the questions already parsed
docstring_tokens: Add a category question entry based on the assessment title