in reply to Re^2: Removing nested div Tag from HTML
in thread Removing nested div Tag from HTML

Wouldn't HTML::Tree take too much time loading?

T.I.T.S.

The material I am working with is time critical.

Can't be that critical, if you're using perl

  • Comment on Re^3: Removing nested div Tag from HTML

Replies are listed 'Best First'.
Re^4: Removing nested div Tag from HTML
by mr_p (Scribe) on Aug 18, 2011 at 21:38 UTC

    I can not get cpan to install HTML::Tree::Scanning. It says. Also, my HTML::Tree is up to date.

    Try the command i /HTML::Tree::Scanning/ to find objects with matching identifiers.
Re^4: Removing nested div Tag from HTML
by mr_p (Scribe) on Aug 19, 2011 at 15:02 UTC

    I tried the HTML::Tree, but It only gets me the content of the tag. I would need to pull out the whole tag with all tags inside it and remove a specific tag based on attribute.

    Is it possible to do this with HTML::Tree?

Re^4: Removing nested div Tag from HTML
by mr_p (Scribe) on Aug 19, 2011 at 15:18 UTC

    Thanks

    I got the HTML::Tree too work and replace tags that I don't want.

    Thanks

    I would still like it to know what was wrong with my code and findout why I can't do this with HTML::Parser.

Re^4: Removing nested div Tag from HTML
by mr_p (Scribe) on Aug 19, 2011 at 21:27 UTC

    Do you know how I can extract the tag? I was able to remove the tag from html but not extract it.