code: def qn(self, namespace):
          
          nsmap = {
              'text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0',
          }
          spl = namespace.split(':')
          return '{{{}}}{}'.format(nsmap[spl[0]], spl[1])
docs: Connect tag prefix to longer namespace