def compileAttr(self, attr): """Precompile an attribute in a stylesheet, basically it checks if it is an attrubute value template, and if yes establish some structures needed to process it at transformation time.""" if attr == None: attr__o = None else: attr__o = attr._o libxsltmod.xsltCompileAttr(self._o, attr__o)