On Wednesday 20 October 2010 19:27:26 Jyoti wrote: > Hi, > > Can anyone please help me to parse WSDL file using Regular expression. > > The file starts like this: > > <?xml version="1.0" encoding="UTF-8"?> > and ends > > with </wsdl definition> > > How to write regualar expression for the above please. >
Don't parse XML (or WSDL which is an XML grammar) using regular expressions. Use a module such as http://search.cpan.org/dist/XML-LibXML/ . Regards, Shlomi Fish > Thanks, > Jyo -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://shlom.in/enemy <rindolf> She's a hot chick. But she smokes. <go|dfish> She can smoke as long as she's smokin'. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/