Page 1 of 1

XML data handling

Posted: Wed Apr 20, 2016 7:04 am
by ellieakim
Hi

Can mycropython handling xml data?

I receive below xml data from other server and handling data in micropython.
But I can't find method.

Please help me.
[code]----------------------------

<?xml version="1.0" encoding="euc-kr"?>
<DATAS>
<RESULT>200</RESULT>
<NAME>NO2</NAME>
<DHCP>1</DHCP>
<IP>192.168.0.102</IP>
<SUBNET>255.255.255.0</SUBNET>
<GATEWAY>192.168.0.1</GATEWAY>
<ONTIME>06:00:00</ONTIME>
<OFFTIME>17:00:00</OFFTIME>
<MON>1</MON>
<TUE>1</TUE>
<WED>1</WED>
<THU>1</THU>
<FRI>1</FRI>
<SAT>0</SAT>
<SUN>0</SUN>
<BRIGHTNESS>8</BRIGHTNESS>
<CMD>0</CMD>
</DATAS>[/code]

Re: XML data handling

Posted: Fri Apr 22, 2016 4:40 pm
by pfalcon