'Get/create the target namespace'

def mktns(self, root):

    tns = root.get('targetNamespace')
    prefix = root.findPrefix(tns)
    if (prefix is None):
        log.debug('warning:    tns    (%s),    not    mapped    to    prefix', tns)
        prefix = 'tns'
    return (prefix, tns)
