次の方法で共有


HtmlConverter: Transform Open XML WordprocessingML to XHtml

Last October, I embarked on a project to convert Open XML WordprocessingML to XHtml. I've now published an MSDN article, Transforming Open XML WordprocessingML to XHTML Using the Open XML SDK 2.0, that describes the first version of this translator.

This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here.

This blog is inactive.
New blog: EricWhite.com/blog

Blog TOC

Comments

  • Anonymous
    February 07, 2010
    I'd suggest you to change default encoding of output html to utf-8. Yes, you're right. I'll update the download asap. -Eric

  • Anonymous
    July 20, 2010
    Hi Eric, I am working on a application that uses word documents as a base and convert them to HTML. Those documents are viewed in HTML editor and then after some modification HTML is saved as PDF. I have used the code which you have provided in your blog for conversation of docx to HTML. But i am not getting the correct formation. So i want to know how to start with that? Did you completed your second pass of the conversion? Thanks. Vishal Vyas India

  • Anonymous
    November 24, 2010
    Hi Eric, You mentioned that your approach is similar to a 'push' type XSLT model... I am using XSLT to do some content management work in .NET, and I have a need to convert XML documents created in InfoPath to .DOCX, and later return them to InfoPath. I have found a suitable library to convert the XHTML used in the InfoPath RichText field to WordprocessingML, but I was wondering if you have come across some XSLT that does the reverse. Please let me know if you are aware of anything.  I could write a full reverse of the transform I have, but that would be time consuming and likely more complex given how complex the WordprocessingML mark up come become. Thanks, Jim