 From this structure a dioxolaniumnium is formed, which is attacked by methanol via an SN2 mechanism at the carbonyl carbon atom.This attack leads to the inversion.After cleavage of a hydrogen atom, the glycoside is formed.