Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Relating data parsed with XMLSimple

by mohan2monks (Sexton)
on Mar 30, 2010 at 10:04 UTC ( #831802=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use XML::Simple;
    use Data::Dumper;
    ...
                        }
                      ]
            };
    
  2. or download this
    #on above $data i can split up the above string with each
    #Name tag followed by Phone tags associated with this
    ...
    #---------- Output -------------
    <Name><Lname>xyz</Lname><Fname>abcd</Fname></Name><Phone><Mobile>12345
    +6789</Mobile><Home>55656556</Home></Phone>
    <Name><Lname>UTV</Lname><Fname>EFGH</Fname></Name><Phone><Mobile>12345
    +6789</Mobile><Home>55656556</Home></Phone>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://831802]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-09-02 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (32 votes), past polls