Solved

large (200k) html file with nested tables does not load into MS Word

Posted on 2004-09-13
5
216 Views
Last Modified: 2010-05-18
I'm using  standard content disposition headers (ie:"application/vnd.ms-word") to create the page, but the page (which loads fine in html) either does not load at all in word, or, it takes Much too long (minutes) to load.   I have tried:
- saving the file and loading from disc
- stripping out generate javascript
- removing headers and footers
- testing the resulting html for properly formed tables and such
- bypassing the fusebox stucture
- stripping out tabs
- stripping out hidden tags
- stripping out CRs
Does anyone have any experience in this?  I'm reusing existing code, so I'm stuck with the level of table nesting (yeah, yeah, I know, use stylesheets for presentation)
0
Comment
Question by:jwchesley
  • 2
5 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12049531
0
 

Accepted Solution

by:
jwchesley earned 0 total points
ID: 12056247
Hmm, thanks for the link COBOLdinosaur.... my problem was actually the opposite direction.  The generated HTML from the application was not being imported into Word correctly..

Solution...
 I beat it to death and the final answer was that the existing templates that I was importing had form tags and input tags in them... When they displayed, they looked nice, but it KILLED Word to try to understand them.  I could hear a lot of disk thrashing as Word needed way more memory than the 256meg on the machine.  So, the result was to go into all the templates and conditionally comment out all the >FORM and >INPUT tags when I needed to import them for printing..  Time went from several minutes (if ever) back to a few seconds as it should have been.

Thanks,
- jack
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 12159617
Jack,
Thanks for the email requesting that this Q be closed - just need for Cd& to post back that it's okay, and either one of us can close this question for you.

Sean
Web Languages Page Editor

In the future, you can just post a notice in Community Support, and one of the Moderators will be able to assist you.
http://www.experts-exchange.com/Community_Support/
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12162163
No problem.  Go ahead and close it Sean.  WL is out of my assigned area.

Cd&
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RSS Feed Validation 2 59
SP to delete duplicates 15 60
Where do I learn ES6? 3 49
Download a website to hdd 2 49
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to count occurrences of each item in an array.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now