Beispiel #1
0
 def evalOneUserParam(self, name, value):
     """This is normally called from xsltEvalUserParams to process
       a single parameter from a list of parameters.  The @value
       is evaluated as an XPath expression and the result is
       stored in the context's global variable/parameter hash
       table.  To have a parameter treated literally (not as an
       XPath expression) use xsltQuoteUserParams (or
       xsltQuoteOneUserParam).  For more details see description
        of xsltProcessOneUserParamInternal."""
     ret = libxsltmod.xsltEvalOneUserParam(self._o, name, value)
     return ret
Beispiel #2
0
 def evalOneUserParam(self, name, value):
     """This is normally called from xsltEvalUserParams to process
        a single parameter from a list of parameters.  The @value
        is evaluated as an XPath expression and the result is
        stored in the context's global variable/parameter hash
        table.  To have a parameter treated literally (not as an
        XPath expression) use xsltQuoteUserParams (or
        xsltQuoteOneUserParam).  For more details see description
        of xsltProcessOneUserParamInternal."""
     ret = libxsltmod.xsltEvalOneUserParam(self._o, name, value)
     return ret