none
Opening WordXML document using OpenXMLSDK RRS feed

  • Question

  • Hi,

    I cannot open the wordXML document using OpenXMLSDK. The WordprocessingDocument.Open method only accepts .docx file format. I am having mail merge document generated in MS Dynamics CRM which is of .xml extension. How to open this file using OpenXMLSDK.

    Thanks.

    Jayakumar 

    Tuesday, February 7, 2017 9:04 AM

All replies

  • Hi,

    You could open the file from file stream.

    Please visit How to: Open a word processing document from a stream (Open XML SDK):

    https://msdn.microsoft.com/en-us/library/office/ff478386.aspx

    If it does not work, please let me know. And it would be helpful if you could share us your .xml file.

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, February 8, 2017 2:37 AM
    Moderator