Re: Converting HTML to text, preserving tables etc.
Is there an easy way to convert HTML to text that preserves formatting in things like tables?
I can find utilities that just strip out the tags, but I need to keep my tables looking like tables, with all the columns aligned. I've tried viewing the HTML in Lynx, but it doesn't seem to handle tables well.
(Actually, the source document is in FrameMaker, which we convert to HTML via WebWorks, so if there's a way to convert from FrameMaker to text, and still get the tables looking correct, that would be even better.)
Thanks in advance,
Philip.
P.S.
This is for a Windows 2000 platform. But a UNIX or Mac solution would be useful too.
Philip,
I think we hit the wall with definitions here. HTML is text. ASCII text in fact. Formatting does not exist in ASCII text. HTML provides formatting instructions.
If you view the HTML in a TEXT browser you won't get any formatting.
If you view the HTML in a Web browser you will get formatting.
If you strip out the formatting instructions you won't have tables or any style formatting.
What do you really want to do?
Scott
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A landmark hotel, one of America's most beautiful cities, and three and a half days of immersion in the state of the art:
IPCC 01, Oct. 24-27 in Santa Fe. http://ieeepcs.org/2001/
+++ Miramo -- Database/XML publishing automation. See us at +++
+++ Seybold SFO, Sept. 25-27, in the Adobe Partners Pavilion +++
+++ More info: http://www.axialinfo.com http://www.miramo.com +++
---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.
References:
Converting HTML to text, preserving tables etc.: From: Philip Sharman
Previous by Author:
Re: Description of databases
Next by Author:
Re: Dallas-Fort Worth Area
Previous by Thread:
Converting HTML to text, preserving tables etc.
Next by Thread:
RE: Converting HTML to text, preserving tables etc.
Search our Technical Writing Archives & Magazine
Visit TechWhirl's Other Sites
Sponsored Ads