Hello peter, Can you part of the xml file?
On 5/5/12, S Peter <speter...@yahoo.com> wrote: > Hi > > I am S. Peter, a beginner in Perl program, working in XML files. I have a > xml files with the following coding. > > "<formula formula-type="inline"><tex notation="TeX">$N$</tex></formula>" > > I require a small script in perl to open any xml file and just copy and > write only the command starts with "<formula" till it closes with > "</formula> in a new file. > > If a xml file consists of any numbers of "<formula....</formula>" commands > it should be written in separate single file of all together in it. > > Looking forward of any help. > > Thanks > > S. Peter > > -- Sent from my mobile device -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/