Thank you shwan for the reply.. But i am storing this value under a string and i need to fetch the value only..i cannot use the XML parser here.. so can u help with this.
Chaitanya On Fri, Jun 4, 2010 at 5:30 PM, Shawn H Corey <shawnhco...@gmail.com> wrote: > On 10-06-04 07:55 AM, Chaitanya Yanamadala wrote: > >> i have a string like this >> <ComposedBlock ID="ZONE1-2" STYLEREFS="PAR1" HEIGHT="1062" WIDTH="1986" >> HPOS="573" VPOS="3003"> >> >> >> i need to get the values between the " " after the ID= . So how can i do >> it, >> Can any one help me?? >> > > If you're parsing XML, you'd be better off using a parser from CPAN < > http://search.cpan.org/ > > Try XML::LibXML or XML::Simple or XML::Twig > > > -- > Just my 0.00000002 million dollars worth, > Shawn > > Programming is as much about organization and communication > as it is about coding. > > The secret to great software: Fail early & often. > > Eliminate software piracy: use only FLOSS. > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >