pylib/uxml/html5.py
def insertBefore(self, node, refNode):
        """Insert node as a child of the current node, before refNode in the
        list of child nodes. Raises ValueError if refNode is not a child of
        the current node"""
        offset = self.xml_children.index(refNode)
        self.xml_insert(node, offset)
def insertBefore(self, node, refNode):
        offset = self.xml_children.index(refNode)
        self.xml_insert(node, offset)
def insertBefore ( self , node , refNode ) : offset = self . xml_children . index ( refNode ) self . xml_insert ( node , offset )
Insert node as a child of the current node, before refNode in the
        list of child nodes. Raises ValueError if refNode is not a child of
        the current node
Insert node as a child of the current node before refNode in the list of child nodes . Raises ValueError if refNode is not a child of the current node