Lines Matching refs:childNodes
64 if self.childNodes:
70 return self.childNodes
73 if self.childNodes:
74 return self.childNodes[0]
77 if self.childNodes:
78 return self.childNodes[-1]
82 for c in tuple(newChild.childNodes):
95 index = self.childNodes.index(refChild)
100 self.childNodes.insert(index, newChild)
104 node = self.childNodes[index-1]
114 for c in tuple(node.childNodes):
142 index = self.childNodes.index(oldChild)
145 self.childNodes[index] = newChild
163 self.childNodes.remove(oldChild)
179 for child in self.childNodes:
202 self.childNodes[:] = L
263 if self.childNodes:
264 for child in self.childNodes:
266 self.childNodes = NodeList()
277 childNodes = self.childNodes
278 if childNodes:
279 last = childNodes[-1]
282 childNodes.append(node)
301 for node in parent.childNodes:
309 for node in parent.childNodes:
332 self.childNodes = NodeList()
354 self.childNodes.append(Text())
368 d2 = self.childNodes[0].__dict__
400 self.childNodes[0].data = value
415 for child in self.childNodes:
417 del self.childNodes[:]
649 self.childNodes = NodeList()
806 if self.childNodes:
808 if (len(self.childNodes) == 1 and
809 self.childNodes[0].nodeType == Node.TEXT_NODE):
810 self.childNodes[0].writexml(writer, '', '', '')
813 for node in self.childNodes:
873 childNodes = EmptyNodeList() variable in Childless
1029 if self.parentNode and self in self.parentNode.childNodes:
1308 self.childNodes = NodeList()
1501 self.childNodes = NodeList()
1557 self.childNodes.remove(oldChild)
1568 for node in self.childNodes:
1585 for n in self.childNodes:
1588 clone.childNodes.append(childclone)
1687 stack.extend([child for child in node.childNodes
1748 for node in self.childNodes:
1830 for child in node.childNodes:
1837 for child in node.childNodes: