Lines Matching refs:curNode
170 self.curNode = self.document
270 _append_child(self.curNode, node)
272 self.curNode.removeChild(node)
275 childNodes = self.curNode.childNodes
292 _append_child(self.curNode, node)
295 childNodes = self.curNode.childNodes
303 _append_child(self.curNode, node)
331 _append_child(self.curNode, node)
333 self.curNode.removeChild(node)
354 _append_child(self.curNode, node)
355 self.curNode = node
385 self.curNode = node.parentNode
393 curNode = self.curNode
394 self.curNode = curNode.parentNode
395 self._finish_end_element(curNode)
397 def _finish_end_element(self, curNode):
398 info = self._elem_info.get(curNode.tagName)
400 self._handle_white_text_nodes(curNode, info)
402 if curNode is self.document.documentElement:
404 if self._filter.acceptNode(curNode) == FILTER_REJECT:
405 self.curNode.removeChild(curNode)
406 curNode.unlink()
558 node = self._builder.curNode
560 if self._builder.curNode is not node:
693 old_cur_node = self.curNode
698 self.curNode = self.fragment
702 self.curNode = old_cur_node
746 _append_child(self.curNode, node)
747 self.curNode = node
790 curNode = self.curNode
793 assert (curNode.namespaceURI == uri
794 and curNode.localName == localname
795 and curNode.prefix == prefix), \
798 assert curNode.nodeName == name, \
800 assert curNode.namespaceURI == EMPTY_NAMESPACE, \
802 self.curNode = curNode.parentNode
803 self._finish_end_element(curNode)