Discussion Locked

Report over the web ASP, XML, HTML

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

The points will go to the person that helps me perform the following task.

I need to save a web generated report as a word file.

The report is generated from a query page, that information is then passed to an XML page to get the information from the DB. The xsl page styles the page to display the report in HTML.

I have no problem printing. However the Save as TXT messes up the data (spacing and such).
What I would like is to do is enable the report to open in word without a long list of steps.

Is this Possible????

David

5 replies

by agibbs

IE allows you to "Save as HTML" . . . and Word reads HTML great (should look exactly the same as in IE)

If that's not an option look to see if your hosting provider has the MS Office server extensions installed. That way you can create the Word document on-the-fly in ASP and have your users download it.

Best,
Aaron

by rhizoned

I know that Word opens html, but it seems to hate my page, I can open it in a browser. But since it's xsl it is just jiberis in word.

Thanx though

by ebob

I knoiw you asked for "MS Word", but have you considered PDF? This is an especially good format if you want to limit the amount of fumbling that your users will do to the content and/or layout.

If your intent is to provide a tool on your website for "any" user to save the formatted file, then you can look into a tool like "ActivePDF" (www.activepdf.com).

If it's "just you", then grab a copy of Adobe Acrobat. Then print the page to Adobe PDF Writer or PDF Distiller, which will save the file as PDF. You could even drop this on a shared drive or back on the Intranet, to share with others. The "others" will only need Acrobat Reader to open the file.

Just an alternate thought for you.

This discussion is closed to new replies.