<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have an part of HTML that I need to edit. <br>Currently, I'm wrapping it in '<html><head></head><body>'.$str.'</body></html>',<br>and the use HTML::TreeBuilder to parse, modify, and dump it back to text.<br>
and then I remove the enclosing tags.<br><br>It works pretty well so far, but is there a better way?<span><font color="#888888"><br></font></span></blockquote></div></div><div><br>Yes, there is!<br>HTML::Zoom!<br></div></div>
</div></blockquote><div><br>Ah, nice one. CSS selectors will rule the world!<br>I see that all the examples are with full html. will it accept html part?<br><br>Shmuel. <br></div></div>