Re: XML Parsing Karjala,
----- Original Message ----- 
From: "Karjala" 
To: 
Cc: "Mike Blezien" 
Sent: Tuesday, June 26, 2007 9:56 AM
Subject: Re: XML Parsing


> You could use XML::MyXML for this job (works well), if you know the exact 
> position in the XML tree where  is located.
>
> Say $xml holds your XML.
>
> Then:
>
>    use XML::MyXML qw(:all);
>
>    $obj = &xml_to_object($xml)
>    $msg_obj = 
> $obj->path('response/idalertresponse/candidateresults/candidateactivity/messaging/raiserisklevel/message');
>    $message = $msg_obj->value();
>
>    print $message;

can this handle multiple elements with the same name? IE. the path used above 
may have more then one  element within the 
 ...  ... 


Mike 

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


