Think about Loose Coupling | |
PerlMonks |
HTML::TokeParser Frustrationby Anonymous Monk |
on Oct 17, 2008 at 03:32 UTC ( [id://717646]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
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...
<CDATA>
or even some <H1>IMPORTANT</H1> words. Maybe even a form <form method=post>...</form>
</CDATA> 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 ...
Back to
Seekers of Perl Wisdom
|
|