Re: Perl - XML Simple - Find Duplicates

2010-02-14 Thread sub
Thanks Shawn for replying. I should have clarified. I am trying to parse an xml file that is hand edited and at times it contains duplicates (same entry twice) - due to bad cut and paste. I would like to find a way to display these duplicates. -- To unsubscribe, e-mail: beginners-unsubscr...@per

Perl XML Duplicates

2010-02-13 Thread sub
Hi, I am trying to use XML::Simple to search an xml file for duplicates but it does not seem to display the duplicates. Does anyone know how to perform this task ? Sub -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://lear

Re: Perl - XML Simple - Find Duplicates

2010-02-13 Thread Shawn H Corey
sub wrote: > Hi, > > When can I use perl xml simple to find duplicates in a xml file ? It > seems to remove the duplicates everytime I use it. What do you mean by duplicates? The definition of XML states that there can one be one of each attribute for each element, and each elem

Perl XML Simple

2010-02-13 Thread sub
Is it possible to use Perl XML Simple to check for duplicates ? When I use it, it seems to be omitting the dupes. -Kevin. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Perl - XML Simple - Find Duplicates

2010-02-13 Thread sub
Hi, When can I use perl xml simple to find duplicates in a xml file ? It seems to remove the duplicates everytime I use it. Thanks, Sub. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

perl XML::Simple parsing for keyword

2006-03-29 Thread Sonika Sachdeva
Hi, I want to search for one or more "filename.mpg" from the xml files which I am parsing using XML:Simple. It may or maynot be there. sub parsexml { my $xml=shift; my $config = XMLin($xml,keyattr=>[Name]); my $A = $config->{' X '}->{'Y'}->{'A'} ; my $B = $config->{'X'}->{'Y'}->{'B'} ; my $C =

Re: Perl & XML

2003-08-28 Thread Chuck Fox
Joe, Try XML::Writer Chuck [EMAIL PROTECTED] wrote: I'm beginning my studies of XML and am looking for a Perl module(s) that allows me to be able to dynamically generate the XML along with any data and display it on the fly, as I now do with HTML. What I've seen so far seems to require writing

RE: Perl & XML

2003-08-28 Thread wiggins
On 28 Aug 2003 07:13:38 -0500, Joe Mecklin <[EMAIL PROTECTED]> wrote: > I'm beginning my studies of XML and am looking for a Perl module(s) that > allows me to be able to dynamically generate the XML along with any data > and display it on the fly,

Perl & XML

2003-08-28 Thread Joe Mecklin
I'm beginning my studies of XML and am looking for a Perl module(s) that allows me to be able to dynamically generate the XML along with any data and display it on the fly, as I now do with HTML. What I've seen so far seems to require writing the XML and associated data to an external file - an ad

Perl XML module building

2002-02-04 Thread a p
hello everyone, i wanted to use xml extensions of perl on windows,i dunno what are the necessary modules i need to download and build,so that i could create and read xml documents atleast. Please can someone tell me what are the necessary modules i need to download in o

RE: This is odd to me - Perl & XML resources

2001-06-14 Thread KURTZ
You shouldn't feel too bad - my company sent me to Perl training and my instructor (okay, he was a sub) couldn't give me a good definition of regular expressions! I think the reason why you see so many different types of discussions here is that many of us probably work as developers in other lan