Hi monks!.
I have to convert the following input structured tagged elements in to html tree view
structure elements.
The tree structure should look like xml (plus and minus) that is to view particular level elements.
Is any option in perl-modules to convert the tagged structured in to the html tree view structure format.
please suggest me for my sample inputs.
<h2>1.11.1 Introduction</h2> <h2>1.11.2 By Substitution</h2> <h3>1.11.2.1 Halogen</h3> <h4>1.11.2.1.1 alkyl halides</h4> <h5>1.11.2.1.1.(i) Friedel–Crafts alkylation</h5> <h5>1.11.2.1.1.(ii) organometallic</h5> <h4>1.11.2.1.2 vinyl halides</h4> <h5>1.11.2.1.2.(i) Alkyl nucleophiles</h5> <h5>1.11.2.1.2.(ii) Alkenyl nucleophiles</h5> <h5>1.11.2.1.2.(iii) Aryl nucleophiles</h5> <h5>1.11.2.1.2.(iv) vinyl halides</h5> <h3><br>1.11.2.2 Oxygen</h3> <h4><br>1.11.2.2.1 alkyl oxygen leaving groups</h4> <h5><br>1.11.2.2.1.(i) Crafts alkylation</h5> <h5><br>1.11.2.2.1.(ii) organometallic</h5>
Thanks in advance
In reply to HTML tree view Conversion for texts by perlsen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |