Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Thu Aug 25, 2011 11:06 pm


I need to load a HTML file into Spire.DOCS using ASP.NET. This document which is produced at runtime is not XHTML at present, so it needs to be cleaned I guess before I can put it into Spire.DOCS. Thoughts on the the best way of doing this at runtime?? I have come across another component which takes the raw HTML and then converts it internally to XHTML before converting it to Word Format.

Thoughts appreciated,


Posts: 3
Joined: Thu Aug 25, 2011 9:01 pm

Wed Aug 31, 2011 2:35 am

You could change the value of document.XHTMLValidateOption to
    None, none schema.
Technical Support / Developer,
e-iceblue Support Team
User avatar

Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Return to Spire.Doc