Hi Alexander,
[Quoted Text] > I created an XML file with Microsoft Word using a simple xsd schema. Then I > used wml2xslt tool to convert the xml file into an xslt seed document. Now, > with my C# application I can happily populate the xslt 'template' with > proper data I need. What I do is I take an xml that validates with the > original xsd the word xml was created with and trasform it with the xslt > file. The output file will contain proper data etc. > > Can I convert, somehow, the output xml file to a .doc file, compatible with > older versions of Microsoft Word? Are there libs for that? Even C# maybe? >
No, you can't do that (yet, anyway) without automating Word and saving as a Word document (*.doc). Older versions can't work with the XML format. With the advent of O12, Microsoft has said it will supply converters for older versions, so that all versions can deal with the Word 12 XML file format. But that will be a while, yet.
Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-)
|