code: def next(self):
          
          try:
              child = self.children[self.pos]
              self.pos += 1
              return child
          except:
              raise StopIteration()
docs: Get the next child.
          @return: The next child.
          @rtype: L{Element}
          @raise StopIterator: At the end.