This article will show you an easy way of doc/docx to XML with C#, VB.NET via a.NET Component Spire.Doc for .NET. Spire.Doc for .NET enables you to generate,read,write and modify word documents without MS Word, it supports C#,VB.NET,ASP.NET,ASP.NET MVC. Using this component, you can realize you doc/docx to xml task by calling the method: public void SaveToFile(string fileName, FileFormat fileFormat) after loading your doc/docx file by Spire.Doc.Document LoadFromFile(string fileName). Please DownloadSpire.Doc for .NET and see code details of doc/docx to xml below:













