Convert OpenXML files to HTML on sharepoint

The sharepoint team recently posted an article up on OpenXMLdeveloper.org on how they allow you to convert files in the Office Open XML format into HTML directly on the server: https://openxmldeveloper.org/articles/MOSSconvert.aspx

When they started investigating this solution, I made sure to point them at the XSLT that we build in Office 2003 to convert the earlier version of WordprocessingML into HTML (https://blogs.msdn.com/brian_jones/archive/2005/09/30/475794.aspx).

This article goes into the details on the challenge they faced with images as images are embedded by default in OpenXML and HTML doesn't allow for embedded images.

-Brian

Comments

  • Anonymous
    November 22, 2006
    Hello Brian, let me first congratulate for completion of Office 2007. Great suite, great software. But considering  the file formats, nearly all of my doubts that i have written on this forum (and which resulted in making my post a blog entry) came true. Let's see how the final situation looks like.
  1. Office converters for older versions of Office are not available for Office 97 and lower. Goal achieved - you are forcing again the users of older versions to upgrade to use new formats - even if they are satisfied. I doubt there are huge technical reasons for this. The cause may be, that if you did not support e.g. Office XP, more users would  more angry. You are very smart at market decisions - so you know how many people will be harmed by your decisions, and are again using your new version as a "upgrade force tool". Not mentioning OneNote 2007, which is not compatible even with its direct predecessor OneNote 2003. Here the users are more willingly to upgrade (and onenote is not so "seen"), so you force to upgrade without any public talk.
  2. ODF converter is available. It has key features - it is slow, not compelete, you cannot double click a ODF file to open it in Word (!),  does not integrate into Office well. And the users cannot contact Microsoft for support, you were smart enough to delegate responsiblity to external subject. The neccesary compromise between what the users wanted (especially EU) and you had to do. If you intended to support ODF, you would integrate it as you did with PDF, XPS , or e.g. WordPerfect filter. Microsoft is known for its user friendliness - really. One can only wonder why in this particular case is ODF support so unfriendly :-)
  3. OpenXML is great ... and again, nobody in the world can now edit complex DOCX document created in Word with 100% (or at least 99%) fidelity. Maybe this will change in the future, but I am in doubt, I think you made sure that this will not be possible. If I am wrong, let me know when it is - e.g. when I can easily send DOCX file to my friend without Windows and    be sure than he can open it. Simple need, still no solution (what about a multi-platform open source SDK - DLL set which would allow edit of your files :-)) So, despite all that talk and hype, considering the file format, the only real benefit is that the specification is publicly available. Open XML is great, Office 2007 is the best suite available - without irony. But considering the file compatibility and interoperability, it honors with some exceptions Microsoft traditional approach - not to open itself unless it it absolutely necessary, using "embrace and extend" strategy, and not contribute to the software community only it is absolutely necessary to do so.
  • Anonymous
    November 29, 2006
    The comment has been removed