It also works if you do a more general code
   replace "<table" with (cr & "<table") in tData

since there is no other html tag that has the word 'table' in it to confuse your script

Jim Ault
Las Vegas

On Dec 22, 2009, at 7:51 PM, roger.e.el...@sealedair.com wrote:

Phil Davis <rev...@pdslabs.net> wrote:
Hi Roger,

It seems to me the bigger problem is the conversion of nested html
tables, which are pretty common. That said, here is a button script that converts a 'simple' html table to a tab-delimited text file. From there the sky is the limit. ;-) NOTE: This code works with only the simplest of tables, but it gives you a starting point if you want to go this way.

That's a sweet script Phil!
I only had to change one line because my html table tags included a few
other other descriptors.

CHANGED:
replace "<table>" with (cr & "<table>") in tData
TO:
replace "<table border=1 cellpadding=3 cellspacing=1>" with (cr &
"<table>") in tData

Thank you, and Merry Christmas!!!



_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to