Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Aug 25, 2011 11:06 pm

Hi,

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,

Edward

edward1
 
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.
Harry
Technical Support / Developer,
e-iceblue Support Team
User avatar

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

Return to Spire.Doc