children()->children()->word_list->word as $key => $value) { $word_list[] = (string)$value->surface; } ?>