- action = int(ccnnode.getAttribute("action"))
- group = int(ccnnode.getAttribute("group"))
- state = int(ccnnode.getAttribute("state"))
- time = ccnnode.getAttribute("time")
+ action = xmldecode(ccnnode.getAttribute("action"), int)
+ group = xmldecode(ccnnode.getAttribute("group"), eval)
+ state = xmldecode(ccnnode.getAttribute("state"), int)
+ time = xmldecode(ccnnode.getAttribute("time"))
+ time = to_type('STRING', time)