  We perform an analysis of semi-inclusive production of charm (D-mesons) in
neutral current (NC) and charged current (CC) deep inelastic scattering (DIS)
at full O(alpha_s^1). Our calculation is based on the heavy quark scheme
developed by Aivazis, Collins, Olness and Tung (ACOT) where we include an
O(alpha_s^1) calculation of quark scattering contributions for general masses
and couplings. We review the relevant massive formulae and subtraction terms
and discuss their massless limits. We show how the charm fragmentation function
can be measured in CC DIS and we investigate whether the charm production
dynamics may be tested in NC DIS. We also discuss finite initial state quark
mass effects in CC and NC DIS.
