perlsen has asked for the wisdom of the Perl Monks concerning the following question:
I have the following inputs in my text file.
I need to convert the input file to HTML Format Table.
if anyone suggest me for to get required output for
the given inputs.
input text file *************** <h1>Heading Level 1 <h2>Heading Level 2 <h2>Heading Level 2 <h2>Heading Level 2 <h3>Heading Level 3 <h3>Heading Level 3 <h2>Heading Level 2 <h1>Heading Level 1 ........ ........ output html file ***************** <table><tr><td>Heading Level 1</td></tr> <table><tr><td>Heading Level 2</td></tr> <tr><td>Heading Level 2</td></tr> <tr><td>Heading Level 2</td></tr> <table><tr><td>Heading Level 3</td></tr> <tr><td>Heading Level 3</td></tr> </table> <tr><td>Heading Level 2</td></tr> </table> <tr><td>Heading Level 1</td></tr> ........ ........ </table>
thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: convert text to HTML Format Table.
by Anonymous Monk on Jan 27, 2005 at 11:51 UTC | |
|
Re: convert text to HTML Format Table.
by gopalr (Priest) on Jan 28, 2005 at 05:21 UTC | |
|
Re: convert text to HTML Format Table.
by ww (Archbishop) on Jan 27, 2005 at 17:16 UTC | |
|
Re: convert text to HTML Format Table.
by Plankton (Vicar) on Jan 27, 2005 at 16:04 UTC |