diff --git a/lib/src/clixon_xml_db.c b/lib/src/clixon_xml_db.c index 25a51577..e85d5f58 100644 --- a/lib/src/clixon_xml_db.c +++ b/lib/src/clixon_xml_db.c @@ -1431,7 +1431,7 @@ xmldb_put_tree_local(clicon_handle h, clicon_err(OE_XML, errno, "List %s without argument", name); goto done; } - cprintf(ckey, "/%s", val2); + cprintf(ckey, "=%s", val2); cbuf_reset(csubkey); cprintf(csubkey, "%s/%s", cbuf_get(ckey), keyname); if (op == OP_MERGE || op == OP_REPLACE || op == OP_CREATE)