Re: Encoding angle brackets in HTML text nodes

2012-02-27 Thread Webley Silvernail
Hi, Shlomi - Thanks for the advice and the link. I appreciate it. Webley - Original Message - From: Shlomi Fish To: Webley Silvernail Cc: Rob Dixon ; "beginners@perl.org" Sent: Friday, February 24, 2012 12:36 PM Subject: Re: Encoding angle brackets in HTML text nodes Hi W

Re: Encoding angle brackets in HTML text nodes

2012-02-24 Thread Webley Silvernail
--Snipped the previous posts as well as some of the redundant bits from below.-- >Hello Webley. See my comments below. >>snip >They are very different: > > my $root = HTML::TreeBuilder->new_from_content($content) > >is the same as > >  my $root = HTML::TreeBuilder->new; >  $root->parse($conten

Re: Encoding angle brackets in HTML text nodes

2012-02-24 Thread Webley Silvernail
On 23/02/2012 00:59, Webley Silvernail wrote: >> >> I have an HTML page that is updated automatically each day. I am >> using  HTML::TreeBuilder to create and insert the new content. >> >> Most of the time, this works fine, but I've hit a snag when existing &

Encoding angle brackets in HTML text nodes

2012-02-23 Thread Webley Silvernail
I have an HTML page that is updated automatically each day. I am using HTML::TreeBuilder to create and insert the new content. Most of the time, this works fine, but I've hit a snag when existing text nodes on the page includes a gt or lt symbol. For example, I might have an existing element o