code: def _all_xmlwords_in(elt, result=None):
      if result is None:
          result = []
      for child in elt:
          if child.tag in ("wf", "punc"):
              result.append(child)
          else:
              _all_xmlwords_in(child, result)
      return result
  
imports: from nltk.corpus.reader.api import *
  from nltk.corpus.reader.xmldocs import XMLCorpusReader, XMLCorpusView
  from nltk.tree import Tree
label_desc: Use image node_id 1 for calling a global function with example usage: _all_xmlwords_in(elt, result) and returns: result