PyDocs

Nav

Structured Markup Processing Tools

Node.insertBefore

xml.dom

method of Node
  • Node.insertBefore(newChild, refChild)
Insert a new child node before an existing child. It must be the case that refChild is a child of this node; if not, NotFoundErr is raised. newChild is returned. If refChild is None, it inserts newChild at the end of the children’s list.
0 Examples
No examples for xml.dom/Node.insertBefore.
See Also
No see-alsos for xml.dom/Node.insertBefore
0 Notes
No notes for Node.insertBefore