Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Trying to figure out how to get data out of this structure using XML::simple (or anything else for that matter!). Note: this is the output coming from debug:
DB<15> x $file 0 'ecfc_ECFC_ModuleUserSetting.xml' DB<16> x $data 0 HASH(0x391b010) 'ecfc_ECFC_ModuleUserSetting' => ARRAY(0x391b5a0) 0 HASH(0x3b10fb0) 'createdOn' => '2012-02-23T17:40:04' 'modifiedOn' => '2012-02-23T17:40:20' 'moduleId' => '{6FE8AD18-9C50-4DC1-A3A0-5DE169056453}' 'propertyData' => '<HelloWorldUserSettings xmlns:xsd="http:// +www.w3.org /2001/XMLSchema"><Theme>default</Theme><Message>ll</Message></HelloWor +ldUserSett ings>' 'userId' => '{FA8A7172-5C01-491A-8DC6-F4FDC9341795}' 1 HASH(0x3b101c8) 'createdOn' => '2012-01-17T17:38:17' 'moduleId' => '{18B3146E-4995-462C-BD0F-5E8E0359A00E}' 'propertyData' => '<HelloWorldUserSettings xmlns:xsd="http:// +www.w3.org /2001/XMLSchema"><Theme>default</Theme><Message>Luke</Message></HelloW +orldUserSe ttings>' 'userId' => '{FA8A7172-5C01-491A-8DC6-F4FDC9341795}' 'generated' => '2012-03-28T15:21:38' 'xmlns:od' => 'urn:schemas-microsoft-com:officedata' 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance' 'xsi:noNamespaceSchemaLocation' => 'ecfc_ECFC_ModuleUserSetting.xsd +'

In reply to parsing XML structure by frustrateduser

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-23 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found