Hi All,
XML::Simple
XML::twig
XML::Myxml
XML::Rules
XML::path
all these do the XML parsing,But which one is the efficient and stable one to
parse a large XML file.
Thanks,
[EMAIL PROTECTED]
Mike Blezien <[EMAIL PROTECTED]> wrote:
----- Original Message -----
From: "Karjala"
To:
Cc: "Mike Blezien"
Sent: Tuesday, June 26, 2007 11:35 AM
Subject: Re: XML Parsing
> Mike Blezien wrote:
>> can this handle multiple elements with the same name? IE. the path used
>> above
>> may have more then one element within the
>> ... ...
>>
>>
>> Mike
>
>
> It can, as follows:
>
>
> my @message_objects =
> $obj->path('response/idalertresponse/candidateresults/candidateactivity/messaging/raiserisklevel/message');
>
> foreach my $msg_obj (@message_objects) {
> print $msg_obj->value();
> }
Ok, thanks for the info and help :)
Mike
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.