I have an ASP.Net web application that reads an xml file containing bookmark values that needs to go into a word document. I am opening the Word Document template in .Net 2.0 (Note: I am referring Office 2007 assembly) and inserting the bookmark values as per the xml file and streaming the content of the word document by using the WordOpenXml property of the document in code to the end user through Response.Write. This shows the file download dialog for the word document. However the document opens correctly only in Word 2007. If I open it in Word 2003 it shows me the Xml structure of the word document and not the word document with the format expected. Am I missing anything here? Why is it that the xml content is not getting identified by Word 2003 only?
Has the Word 2003 in question an installed XML filter (ie the 2007 conversion pack)? Otherwise the XML file would be merely text. -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> gpk2005 wrote: > I have an ASP.Net web application that reads an xml file containing > bookmark values that needs to go into a word document. I am opening > the Word Document template in .Net 2.0 (Note: I am referring Office > 2007 assembly) and inserting the bookmark values as per the xml file > and streaming the content of the word document by using the > WordOpenXml property of the document in code to the end user through > Response.Write. This shows the file download dialog for the word > document. However the document opens correctly only in Word 2007. If > I open it in Word 2003 it shows me the Xml structure of the word > document and not the word document with the format expected. Am I > missing anything here? Why is it that the xml content is not getting > identified by Word 2003 only?