def get_local_name(full_name):
    """
        Removes namespace part of the name.

        Namespaces can appear in 2 forms:
            {full.namespace.com}name, and
            prefix:name.
        Both cases are handled correctly here.
    """
    full_name = full_name[full_name.find('}') + 1:]
    full_name = full_name[full_name.find(':') + 1:]
    return full_name
