예제 #1
0
 def evalAttrValueTemplate(self, inst, name, ns):
     """Evaluate a attribute value template, i.e. the attribute
       value can contain expressions contained in curly braces
        ({}) and those are substituted by they computed value."""
     if inst == None: inst__o = None
     else: inst__o = inst._o
     ret = libxsltmod.xsltEvalAttrValueTemplate(self._o, inst__o, name, ns)
     return ret
예제 #2
0
 def evalAttrValueTemplate(self, node, name, ns):
     """Evaluate a attribute value template, i.e. the attribute
        value can contain expressions contained in curly braces
        ({}) and those are substituted by they computed value."""
     if node == None: node__o = None
     else: node__o = node._o
     ret = libxsltmod.xsltEvalAttrValueTemplate(self._o, node__o, name, ns)
     return ret