The stupid question is the question not asked | |
PerlMonks |
HTML::Treebuilder - DOCTYPEby smaida (Initiate) |
on Jul 11, 2005 at 11:40 UTC ( [id://473902]=perlquestion: print w/replies, xml ) | Need Help?? |
smaida has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks,
I am working on a script that parses content from web pages and inserts the data in to a new page. The process is as follows:
The problem is that I'm using HTML::TreeBuilder for both parsing the source page and inserting data in to the target page and when creating the target page the DOCTYPE is positioned after the closing body tag. (Documented bug in HTML::TreeBuilder) This is a problem for IE... Has anyone used HTML::TreeBuilder before and found a solution to this problem? The Doctype on the target page may very so I need to retain the original and not hardcode the doctype in to my script. Thanks.-Shawn
Back to
Seekers of Perl Wisdom
|
|