code: def newReference(self, name):
          
          ret = libxml2mod.xmlNewReference(self._o, name)
          if ret is None:raise treeError('xmlNewReference() failed')
          __tmp = xmlNode(_obj=ret)
          return __tmp
docs: Creation of a new reference node.