def applyAttributeSet(self, node, inst, attributes): """Apply the xsl:use-attribute-sets""" if node == None: node__o = None else: node__o = node._o if inst == None: inst__o = None else: inst__o = inst._o libxsltmod.xsltApplyAttributeSet(self._o, node__o, inst__o, attributes)
def applyAttributeSet(self, node, inst, attrSets): """Apply the xsl:use-attribute-sets. If @attrSets is None, then @inst will be used to exctract this value. If both, @attrSets and @inst, are None, then this will do nothing.""" if node == None: node__o = None else: node__o = node._o if inst == None: inst__o = None else: inst__o = inst._o libxsltmod.xsltApplyAttributeSet(self._o, node__o, inst__o, attrSets)