Krambambuli has asked for the wisdom of the Perl Monks concerning the following question:
would produce the following (or similar) output:<garbage> <a href="URL1"> text1.0 <img src="SRC1"> text1.1 <br> <garbage2> text1.2 <a href="URL2"> text2.0 <img src="SRC2"> text2.1 <br> <garbage2> <garbage3> text2.2 <a href="URL3"> text3.0 <img src="SRC3"> text3.1 <br> <garbage3> text3.2 <x1 a="a" b="b"> text3.3 </a> text2.3 <haha> </a> text1.3 <oho> <a href="URL4"> text4.0 <img src="SRC4"> text4.1 <br> <garbage4> text4.2 <x1 a="a" b="b"> text4.3 </a> text1.4 </a>
A URL3 TEXT: ' text3.0 text3.1 text3.2 text3.3 ' A URL2 TEXT: ' text2.0 text2.1 text2.2 text2.3 ' A URL4 TEXT: ' text4.0 text4.1 text4.2 text4.3 ' A URL1 TEXT: ' text1.0 text1.1 text1.2 text1.3 text1.4 '
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing HTML - once again
by GrandFather (Saint) on May 09, 2007 at 21:16 UTC | |
by Krambambuli (Curate) on May 10, 2007 at 07:03 UTC | |
|
Re: Parsing HTML - once again
by naikonta (Curate) on May 09, 2007 at 15:44 UTC | |
by Krambambuli (Curate) on May 09, 2007 at 16:24 UTC | |
by naikonta (Curate) on May 09, 2007 at 16:50 UTC |