Hi, If you wish to read, change xml tree structure and create a xml string again than XML::TreePP (http://search.cpan.org/~kawasaki/XML-TreePP-0.19/lib/XML/TreePP.pm) should be helpfull.
Yaron Kahanovitch ----- Original Message ----- From: "xavier mas" <[EMAIL PROTECTED]> To: beginners@perl.org Sent: 09:42:29 (GMT+0200) Asia/Jerusalem שבת 5 מאי 2007 Subject: Re: regular expression El Sábado 05 Mayo 2007 01:16, Ken Foskey escribió: > On Sat, 2007-05-05 at 01:01 +0200, xavier mas wrote: > > HI list!, > > > > I have a file with labels and a small text inside. When this text is > > different of a pattern text (n, for instance), this label must be > > deleted, for instance: > > > > <label>f</label>(more text)<label>n</label>(more > > text)<label>mpl</label>... > > > > (labels containing something different to 'n' must be deleted of the > > string.) > > > > How can I do this? > > Looks like XML, xml::simple may help. > > Ken Thank you Ken. I'll look at it. Cheers, -- Xavier Mas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/