From: Rajpreet <rajpreetsi...@gmail.com> > Thanks for your replies. But the above message is jst a sample and the > exact message we get is pretty huge(its a trading sysem message)... I > do have XML Parser installed.. I was trying to format a sample message > using start and a default handler. I do get data in a variable and can > change it, but how do I get the changed XML message in a new file. My > question might be confusing or silly, but thats where I am currently > stuck . I just wrote a dummy script- > > #!/usr/bin/perl > use XML::Parser; > ....
Using XML::Parser directly is very seldom the right thing to do. Especially if you are just starting with Perl. See for example the filter mode of XML::Rules or have a look at XML::Twig. Both can handle huge XMLs without any problem. If used well. See the examples! Jenda ===== je...@krynicky.cz === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/