public static function createChildBefore(\DOMNode $rootNode, $nodeName, $nodeText, $position = 0)
    {
        return self::createChildBeforeNode($nodeName, $nodeText, $rootNode->childNodes->item($position));
    }