CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Need assiatance on XML:Simple in perl

 



Ping_Bee
New User

Oct 1, 2015, 4:34 AM

Post #1 of 1 (690 views)
Need assiatance on XML:Simple in perl Can't Post

I need to extract name field in the below XML file,


Code
<DefinitionsResponse> 
<Status>Success</Status>
<Definition mtime="1438886368196" ctime="1438886368196" id="31128" name="Apple">
<Rid="0120" name="Fruit"/>
<Condition required="true" type="1"/>
</Definition>
<Definition mtime="143822244196" ctime="1438886368196" id="31228" name="Orange">
<Rid="0023" name="Fruit"/>
<Condition required="true" type="1"/>
</Definition>
<Definition mtime="143883458196" ctime="1438886368196" id="53328" name="Wine">
<Rid="0021" name="Fruit"/>
<Condition required="true" type="1"/>
</Definition>


Expected ouput is :

Apple
Orange
Wine

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives