if ((n = obt_parse_find_node(node, "then"))) {
xmlNodePtr m;
- m = obt_parse_find_node(n->xmlChildrenNode, "action");
+ m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->thenacts = g_slist_prepend(o->thenacts, action);
if ((n = obt_parse_find_node(node, "else"))) {
xmlNodePtr m;
- m = obt_parse_find_node(n->xmlChildrenNode, "action");
+ m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->elseacts = g_slist_prepend(o->elseacts, action);