N-glycans were released from protein by treatment with PNGase F- and O-glycans were subsequently released by beta-elimination.