wordpress hit counter
Welcome to OpenXML Developer Sign in | Join | Help

WordML to display correctly formatted.

Last post 08-05-2009, 9:30 AM by robertk. 3 replies.
Sort Posts: Previous Next
  •  11-09-2008, 8:31 AM 3852

    WordML to display correctly formatted.

    Hi all,
    Is there a way I can take a XML document produced from an MS document (so with word formatting tags) in the code and be able to display it correctly inside a web browser.
    I have tried already creating an external XSL document with a copy of the tags and calling them into the XML file however my knowledge of XML translation is very limited so I think i am obviously approaching this the wrong way.
    Are web browsers able to read WordML documents and display them correctly? if not what do I do? if so how do I modify the XML document so that it formats correctly?

    Thanks very much for your help.
    Mathew.
  •  11-10-2008, 1:39 PM 3860 in reply to 3852

    Re: WordML to display correctly formatted.

    Web browsers don't have native support for WordML.  In what context are you trying to do this?  Converting WordML to HTML would be a fairly complex process because the formatting in a Word document can be scattered across multiple XML files and tracing through multiple levels of style inheretence and correctly interpretting the style is certainly not simple.

    If the end user has Word, then attempting to open the document in a web browser will result in an embedded Word window within the browser.  Word also natively support outputting its documents in HTML format, so that's another option.

    If you really need WordML to be converted to HTML, your best bet is probably licensing a third party solution, though in my experience most of them are far from perfect despite being extremely expensive.

  •  11-25-2008, 5:45 AM 3895 in reply to 3852

    Re: WordML to display correctly formatted.

    Hi,

    you should have a look to the solution TDIWiz (www.tdiwiz.com), which enables very easily the server-side creation of documents. As you can use with TDIWiz also '.htm' templates, I think it could help you with your problem.

    If you don't need conditional or "programmed" document parts and don't want to map hierarchical data within the document, you can use TDIWiz even completely for free. 

    If there are any questions, please contact us: info@sklenar.at

  •  08-05-2009, 9:30 AM 7279 in reply to 3860

    Re: WordML to display correctly formatted.

    If you use the old WordprocessingML 2003 file format (which is NOT OOXML/docx), then maybe this article can help you: http://www.informit.com/articles/article.aspx?p=691502&seqNum=3
View as RSS news feed in XML