Creation of a new node element within a document. @ns and
           @content are optional (None).

def newDocRawNode(self, doc, name, content):
        """Creation of a new node element within a document. @ns and
           @content are optional (None). """
        if doc is None: doc__o = None
        else: doc__o = doc._o
        ret = libxml2mod.xmlNewDocRawNode(doc__o, self._o, name, content)
        if ret is None:raise treeError('xmlNewDocRawNode() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp