[PHP] Re: XML to MS Word
Hello, On 10/31/2002 12:01 AM, Maxim Maletsky wrote: Guys, The other day, one of my clients asked me this very tricky question: Can we also use that XML data for making MS Word (.doc) files? Our system is designed to produce XML output independently to then later transform it into HTML with PHP/XSLT and PDF with FOP. Now, the client also wants MS Word. I doubted he could, but my intuition suggested me to research on it. Without any luck so far. Does anyone know if there is any possibility doing it? I looked on web but did not really find anything. If your server is running under Windows, you can use COM objects for generating MS Word documents. Anyway, if you can generate RTF documents from your XML, just serve them with MS Word content type and .doc file name extension and MS Word will open them seeminglessly. -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: XML to MS Word
If your server is running under Windows, you can use COM objects for generating MS Word documents. No way it's windows :) There is VMWare though, i might consider that. It is actually used for something similar. yet, I still have to research on direct MSWord generation. Anyway, if you can generate RTF documents from your XML, just serve them with MS Word content type and .doc file name extension and MS Word will open them seeminglessly. How limited is this method? Can it be pretty well formatted with enough stylish features etc? Or it is going to be just what format is called: Rich but still - Text ? -- Maxim Maletsky [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: XML to MS Word
Anyway, if you can generate RTF documents from your XML, just serve them with MS Word content type and .doc file name extension and MS Word will open them seeminglessly. Or just send HTML with Word headers and Word will open it right up. Your users won't even know it's HTML. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: XML to MS Word
Hello, On 10/31/2002 12:22 AM, Maxim Maletsky wrote: Anyway, if you can generate RTF documents from your XML, just serve them with MS Word content type and .doc file name extension and MS Word will open them seeminglessly. How limited is this method? Can it be pretty well formatted with enough stylish features etc? Or it is going to be just what format is called: Rich but still - Text ? You can define absolutely any type of document part in RTF because Microsoft developed RTF to export any Word document version. BTW, RTF is a markup language too. -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php