|Think about Loose Coupling|
HTML::TokeParser Frustrationby Anonymous Monk
|on Oct 17, 2008 at 03:32 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to parse HTML that contains pseudo HTML tags using HTML::TokeParser but am running into a brick wall.
The HTML looks like this...
or even some <H1>IMPORTANT</H1> words. Maybe even a form <form method=post>...</form>
My code below will parse the HTML fine, but I lose the HTML markup between the <CDATA>...</CDATA> tags.
How can I retain the HTML markup between these <CDATA> tags??
This code returns all HTML stripped out - Not good.
Found Data: Just some random whatever. It might have some real HTML like a table or CSS styling or even some IMPORTANT words. Maybe even a form ...