AlexT. wrote:
> Folks,
>
> I guess the title says it all...
>
> I'd like to use the "open with transform" feature of word 2007 to
> transform some (fairly simple) XML files into a nice Word document. As
> such I guess I have to define an XSLT... but I am at loss as of where
> to start.
>
> Is there any good tutorial / sample around ? I know google - err
> windows live search - should be my friend but doesn't seem to this
> time
Unless the formatting is extremely complex, don't bother.
Write a simple XSLT to transform the document into very carefully-made
XHTML, with an embedded stylesheet if it needs it, and name the output
file to end in .doc (a barefaced lie, of course).
Word can then open this without gagging, and you can click on Save As...
and save it as a native Word file.
///Peter