Re: allow nested <body> elements -- switch override ?
Joseph W Norton (norton@alum.mit.edu)
Sat, 20 Sep 1997 22:22:04 -0500
Gisle -
In general, I don't think so.
However, I would simply like to re-use the TreeBuilder module for
parsing a stylized version of HTML. I am parsing files that contain
nested blocks of <html> and <body> tags. I can re-use the TreeBuilder
module verbatim for this purpose except for it not allowing nested
<body> and <html> tags.
- joe n.
Gisle Aas writes:
> Joseph W Norton <norton@alum.mit.edu> writes:
>
> > I have been using the HTML::* modules and have found them to be very
> > useful.
> >
> > I have a enhancement request? Would it possible to provide a switch
> > to override the "skipping nested <body> element" functionality in
> > TreeBuilder.pm? I have commented them out temporarily in my copy (see
> > below).
>
> Why? Does it make sense to have nested bodies?
>
> --
> Gisle Aas <aas@sn.no>
>
--
--
Joe Norton
email:norton@alum.mit.edu