?
Solved

Export MS Word HTML into valid, XHTML table?

Posted on 2004-08-03
4
Medium Priority
?
602 Views
Last Modified: 2013-12-16
We have employees in another department who post data to our website via an online form we'd set up for them.  The form automatically generates basic HTML (paragraph tags, bold tags, italics, etc.).

The employees often want to post long HTML tables that they'd generated in MS Word.  Unfortunately, if we ask these employees to save these as an HTML file, MS Word generates some pretty hideous code and many unnecessary, Microsoft-specific tags.  Usually the ending code is so large that it crashes our online form, since online forms have a maximum byte amount they can pass at any given time (no joke, these tables are often quite huge).

Is there any tool out there that can parse MS Word-generated table data and recreate a table into tight, XHTML format?  We're trying to avoid the time necessary to program our own robust, MS Word HTML parser, since this is such a low priority item (but not so low that the subject of doing this comes up once every year)
0
Comment
Question by:cacklebunny
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 400 total points
ID: 11705480
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 11705484
It won't be perfect, but it will be 90% better...
0
 
LVL 19

Expert Comment

by:webwoman
ID: 11710004
Develop a macro, put it in all the normal.dot templates, and show them how to use it. Not only should you be able to format the table, you can convert the quotes, set the bold/italic/etc., and even add styles to the tags.

Then YOU control what gets generated, not MS.
0
 
LVL 2

Author Comment

by:cacklebunny
ID: 11712059
Thanks, Sean --at last something that works! :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

801 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