in reply to Re: HTML table-of-contents generator
in thread HTML table-of-contents generator
HTML::Parser is pretty primitive, but looks like it's enough to spot the header tags easily enough. But what about modifying the HTML? It needs to print out everything it reads, with the same formatting.
I also looked at HTML::TreeBuilder, and it can't output the same format that it read but produces its own re-generation of the text.
|
|---|