[XM/V8i MDL] NURBS representation of B-Spline curve

I am not an expert in this area, but I need to convert the MSBsplineCurve into the form as in The NURBS Book by Les Piegl and Wayne Tiller is presented. 
To be honest, I do not understand all background, I only need data that I must export :)

Is it possible using MDL (or C++ API)?
Any advice?


Thanks in advance.