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
294 _append_child(self.curNode, node)
297 childNodes = self.curNode.childNodes
307 _append_child(self.curNode, node)
335 _append_child(self.curNode, node)
337 self.curNode.removeChild(node)
358 _append_child(self.curNode, node)
359 self.curNode = node
392 self.curNode = node.parentNode
400 curNode = self.curNode
401 self.curNode = curNode.parentNode
402 self._finish_end_element(curNode)
404 def _finish_end_element(self, curNode):
405 info = self._elem_info.get(curNode.tagName)
407 self._handle_white_text_nodes(curNode, info)
409 if curNode is self.document.documentElement:
411 if self._filter.acceptNode(curNode) == FILTER_REJECT:
412 self.curNode.removeChild(curNode)
413 curNode.unlink()
565 node = self._builder.curNode
567 if self._builder.curNode is not node:
700 old_cur_node = self.curNode
705 self.curNode = self.fragment
709 self.curNode = old_cur_node
753 _append_child(self.curNode, node)
754 self.curNode = node
802 curNode = self.curNode
805 assert (curNode.namespaceURI == uri
806 and curNode.localName == localname
807 and curNode.prefix == prefix), \
810 assert curNode.nodeName == name, \
812 assert curNode.namespaceURI == EMPTY_NAMESPACE, \
814 self.curNode = curNode.parentNode
815 self._finish_end_element(curNode)