Re: removing dom nodes
Marvin Reimer <[email protected]> Wed, 15 Jul 2015 11:11:41 +0200
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <CAEiDoX5PXxK-LykFOVHChyrstkKUBhsdv4DGw_u88CW3K4iVjQ@mail.gmail.com> |
--047d7b3a82acf75efa051ae65856 Content-Type: text/plain; charset=UTF-8 Removing acceptable DOM nodes is not the task of html-tidy. You need a HTML parser for that after doing html-tidy. Marvin Reimer 2015-07-12 13:25 GMT+02:00 folkert <[email protected]>: > Hi, > > While iterating the html-document, I would like to remove some nodes. > How can I accomplish this? I don't think I saw anything in the api for > that. > > > Folkert van Heusden > > > --047d7b3a82acf75efa051ae65856 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Removing acceptable DOM nodes is not the task of html-tidy= . You need a HTML parser for that after doing html-tidy.<div><br></div><div= >Marvin Reimer</div></div><div class=3D"gmail_extra"><br><div class=3D"gmai= l_quote">2015-07-12 13:25 GMT+02:00 folkert <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]= </a>></span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0= .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> While iterating the html-document, I would like to remove some nodes.<br> How can I accomplish this? I don't think I saw anything in the api for<= br> that.<br> <br> <br> Folkert van Heusden<br> <br> <br> </blockquote></div><br></div> --047d7b3a82acf75efa051ae65856--