locked
XML to Word to original XML RRS feed

  • Question

  •  Hey all,

    I have been writing a tool which will allow u to convert xml files into .docx files (Word 2007). For this one needs to have the xml and a related xsl file for it.

    Now i also need to convert the word document back to the basic xml file that was used earlier.  How do i do this, Please help me out here.

    Thanks in Advance
    Teja
    Monday, March 2, 2009 9:55 AM

Answers

  • Well there is no general solution to transform arbitrary XML to Word and there is no general solution to transform Word to XML. If you have written the converter for one direction then you know better than anyone here how the Word document relates to the XML document. There is certainly no automation to find a stylesheet that reverts the transformation done by another stylesheet.
    MVP XML
    Monday, March 2, 2009 2:06 PM