Parse XML as a result in custom dynamic dns?



  • Hi all,

    I am using zonomi (https://zonomi.com/app/dns/dyndns.jsp) and it returns xml as a result

    
    ]>
     <dnsapi_result><is_ok>OK:</is_ok>
      <result_counts <br="">added="0"
       changed="0"
       unchanged="1"
       deleted="0"/>
    
     <actions><action <br="">action="SET"
     host="mx0.mydomain.com"
     type="A"
     value="168.122.123.109">
     <record <br="">name="mx0.mydomain.com"
     type="A"
     content="168.122.123.109"
     ttl="3600 seconds"
     prio="0"
     skipped="unchanged"/></record></action></actions></result_counts></dnsapi_result> 
    
    

    Does anybody know how to parse this in the result?

    Thanks a lot in advance,

    Thomas


Log in to reply