in reply to Re^5: Parsing HTML into various files
in thread Parsing HTML into various files

bart, you got it in 1. I totally forgot that the files that are online are completely different from the local files which I have structured a lot differently. I will just download the old files since the new ones are so very different. I took a look at the underlying code of the files that are online about 10 minutes ago right before I updated my reply to wfsp.

Update: After getting the right files, I ran your script. It worked almost flawlessly, except that there are a nested tables in some of the descriptions that are throwing this off. I am looking at the following lines thinking that something should be added there to take into account the nested tables. When colspan = "4" ignore the tables within it.

if($flag == 1) { $_ = ""; my $colspan = $token->get_attr('colspan'); if($colspan) { push @table, $colspan == 2 ? 'school(s)' : 'description'; } }
Have a cookie and a very nice day!
Lady Aleena