A C# port of dwml library by xiilei (https://github.com/xiilei/dwml).
2\pi\int_{a}^{b}{y\sqrt{1+(f^{\prime}(x))^{2}}}\ dxusing mxd.Dwml;
var xmldoc = new XmlDocument();
xmldoc.Load("example.xml");
// DocumentElement is expected to be a m:oMath node.
var latex_str = MLConverter.Convert(xmldoc.DocumentElement);
Console.WriteLine($"LaTex: '{latex_str}'");