コード例 #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
ファイル: libxslt.py プロジェクト: gastonfeng/GreenOdoo
 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