A direct measurement of vertical bar V-cs vertical bar in hadronic W decays using a charm tag