Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Looking for sample XML to Word 2007 transformation / tutorial

From: Peter Flynn <peter.nosp@-.--------.-->
To: NULL
Date: 10/9/2008 11:05:00 PM

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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent