On Sat, May 5, 2012 at 2:42 AM, 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 > >
Hi S. Peter; What perl code have your written so far? We can help you with what you have written, but in general, the list members don't write code for people. If you don't understand some perl construct, we can help with that as well. Ken Wolcott -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/