示例#1
0
 def addKey(self, name, nameURI, match, use, inst):
     """add a key definition to a stylesheet"""
     if inst == None: inst__o = None
     else: inst__o = inst._o
     ret = libxsltmod.xsltAddKey(self._o, name, nameURI, match, use,
                                 inst__o)
     return ret
示例#2
0
 def addKey(self, name, nameURI, match, use, inst):
     """add a key definition to a stylesheet"""
     if inst == None: inst__o = None
     else: inst__o = inst._o
     ret = libxsltmod.xsltAddKey(self._o, name, nameURI, match, use, inst__o)
     return ret