def _relative_view(telstate, name):
    """Create a telstate view by appending `name` to all existing namespaces."""
    prefix = telstate.prefixes[-1]
    view = telstate.view(prefix + name, exclusive=True)
    for prefix in reversed(telstate.prefixes[:-1]):
        view = view.view(prefix + name)
    return view
