[XML-SIG] [Fwd: Re: xml to word document conversion]
stefan_ml at behnel.de
Fri Sep 21 07:38:56 CEST 2007
prajwala.manchikatla at azri.biz wrote:
> I found some clue in the below link.
> That article in that link is using xslt to convert normal xml to
> wordprocessingML which is used by ms word 2003 and above.
> I tested that example and it is working well.
> But there is some problem, the out put file is again an xml.
> If i open that xml file in the ms word 2003 it is opening as document. But
> when i rename it as .doc and open in the word , it is showing that xml
> code. I want the extension should be doc so that can open that file
> directly using ms word. In the current case if it is xml file no one will
> open that in word and the default option of xml editor will be shown
What you are trying to solve is a Microsoft problem, not an XML problem (wrong
You can try to pipe the result through MS Word after creating it, e.g. using
win32com (never used it myself).
More information about the XML-SIG