Source
def select_input(self):
ret = pyNodeList()
for node in self:
if node.name() == 'input':
ret.append(node)
if len(ret) == 1: return ret[0]
else: return ret
returns input elements.
def select_input(self):
ret = pyNodeList()
for node in self:
if node.name() == 'input':
ret.append(node)
if len(ret) == 1: return ret[0]
else: return ret