- if ((n = parse_find_node("execute", node))) {
- gchar *s = parse_string(doc, n);
- o->cmd = parse_expand_tilde(s);
+ if ((n = obt_xml_find_node(node, "command")) ||
+ (n = obt_xml_find_node(node, "execute")))
+ {
+ gchar *s = obt_xml_node_string(n);
+ o->cmd = obt_paths_expand_tilde(s);