Solved

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

Posted on 2004-09-13
5
219 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to dynamically set the form action using jQuery.

680 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