def copyPropList(self, target):
        """Do a copy of an attribute list. """
        if target is None: target__o = None
        else: target__o = target._o
        ret = libxml2mod.xmlCopyPropList(target__o, self._o)
        if ret is None:raise treeError('xmlCopyPropList() failed')
        __tmp = xmlAttr(_obj=ret)
        return __tmp
def copyPropList ( self , target ) : if target is None : target__o = None else : target__o = target . _o ret = libxml2mod . xmlCopyPropList ( target__o , self . _o ) if ret is None : raise treeError ( 'xmlCopyPropList() failed' ) __tmp = xmlAttr ( _obj = ret ) return __tmp
Do a copy of an attribute list.