Source
def children(self):
ret = pyNodeList()
for child in self._children:
if child.name() != 'comment':
ret.append(child)
if len(ret) == 1: return ret[0]
else: return ret
returns child element(s).
def children(self):
ret = pyNodeList()
for child in self._children:
if child.name() != 'comment':
ret.append(child)
if len(ret) == 1: return ret[0]
else: return ret