def registerTmpRVT(self, RVT): """Register the result value tree for destruction at the end of the context""" if RVT == None: RVT__o = None else: RVT__o = RVT._o ret = libxsltmod.xsltRegisterTmpRVT(self._o, RVT__o) return ret
def registerTmpRVT(self, RVT): """Registers the result value tree (XSLT 1.0 term: Result Tree Fragment) in the garbage collector. The fragment will be freed at the exit of the currently instantiated xsl:template. Obsolete; this function might produce massive memory overhead, since the fragment is only freed when the current xsl:template exits. Use xsltRegisterLocalRVT() instead.""" if RVT == None: RVT__o = None else: RVT__o = RVT._o ret = libxsltmod.xsltRegisterTmpRVT(self._o, RVT__o) return ret