Hello,

  I've just made a simple script using xml::simple,
and I am stuck on something:

I have an xml file that looks like this:

<person>
  <address>
    <str>Somewhere</str>
    <nr>18</nr>
    <sc>a</sc>
  </address>
</person>
<person>
  <address>
    <str>Somewhere else</str>
    <nr>3</nr>
    <sc>a</sc>
    <zone>bc</zone>
  </address>
</person>
....

So my question would be, how can I handle dynamic <address> fields
(ex. the above code) and be able to refer to each key/value pair
 inside <address> ?

Thanks !


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to