Takes a entity string content and process to do the
          adequate substitutions.  [67] Reference ::= EntityRef |
           CharRef  [69] PEReference ::= '%' Name ';'

def stringLenDecodeEntities(self, str, len, what, end, end2, end3):
        """Takes a entity string content and process to do the
          adequate substitutions.  [67] Reference ::= EntityRef |
           CharRef  [69] PEReference ::= '%' Name ';' """
        ret = libxml2mod.xmlStringLenDecodeEntities(self._o, str, len, what, end, end2, end3)
        return ret