|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Openning XML in Excel using CGIby rashley (Scribe) |
| on Nov 29, 2006 at 10:51 UTC ( [id://586725]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.rashley has asked for the wisdom of the Perl Monks concerning the following question:
I have a CGI that calls a C++ executable (running on AIX) that generates a report in XML that applies a stylesheet already present on the user's local machine.
I then feed the report back to the browser with the following function.
So when this is run, you get the standard "Open or Save" windows dialog. If you choose "Save" and then open it, you get the dialog to apply the stylesheet. It opens in Excel and all is right with the world. But if you choose "Open", you get the dialog, then an error message that says: "The download of the specified resource has failed.", then you get the stylesheet dialog AGAIN, then the file opens and looks fine. Since the file is fine when you save, I don't see how the problem could be in the XML being generated, which means that the problem is in my Perl somewhere. Any thoughts, please? Thanks.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||