valavanp has asked for the wisdom of the Perl Monks concerning the following question:
i have a xml file like below:
The output which i want is<doc.body> <head n="1">Introduction</head> <para>para 1</para> <para>para 2</para> <head n="2">Individual</head> <para>para 1</para> <para>para 2: <list listtype="bull"> <item>item 1</item> <item>2</item> </para> </doc.body>
Can anyone suggest how to approach the above problem. i used XML::Twig module but couldn't get the solution. You can see in my post named as reading from XML files. Thanks all for your suggestions.TX <h3>INTRODUCTION</h3> TX para 1 TX para 2 TX <h3>Individual</h3> TX para 1 TX para 2 TX <ol><li>item1</li><li>2</ol>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: xml file reading and displaying
by bsdz (Friar) on Mar 26, 2007 at 13:11 UTC | |
Re: xml file reading and displaying
by zentara (Archbishop) on Mar 26, 2007 at 14:16 UTC | |
Re: xml file reading and displaying
by Wonko the sane (Deacon) on Mar 27, 2007 at 11:52 UTC | |
Re: xml file reading and displaying
by Jenda (Abbot) on Mar 31, 2007 at 22:24 UTC |
Back to
Seekers of Perl Wisdom