@classmethod
def _get_prefix_map(cls):
    if (not cls._prefix_map):
        for ns in cls._namespaces:
            cls._prefix_map[ns.prefix.upper()] = ns
    return cls._prefix_map
@classmethod
def _get_prefix_map(cls):
    if (not cls._prefix_map):
        for ns in cls._namespaces:
            cls._prefix_map[ns.prefix.upper()] = ns
    return cls._prefix_map