code: def getnodes(self, name):
          "Return the direct subnodes with name 'name'"
          for node in self.nodes:
              if striptag(node.tag) == name:
                  yield nodf getnodes(self, name):
          "Return the direct subnodes with name 'name'"
          for node in self.nodes:
              if striptag(node.tag) == name:
                  yield node
docs: Return the direct subnodes with name 'name