{"action":"created","issue":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1096","repository_url":"https://api.github.com/repos/sysrepo/sysrepo","labels_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1096/comments","events_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1096/events","html_url":"https://github.com/sysrepo/sysrepo/issues/1096","id":312419851,"number":1096,"title":"How to delete a node in leaf-list ","user":{"login":"KingOfOplex","id":37398240,"avatar_url":"https://avatars1.githubusercontent.com/u/37398240?v=4","gravatar_id":"","url":"https://api.github.com/users/KingOfOplex","html_url":"https://github.com/KingOfOplex","followers_url":"https://api.github.com/users/KingOfOplex/followers","following_url":"https://api.github.com/users/KingOfOplex/following{/other_user}","gists_url":"https://api.github.com/users/KingOfOplex/gists{/gist_id}","starred_url":"https://api.github.com/users/KingOfOplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingOfOplex/subscriptions","organizations_url":"https://api.github.com/users/KingOfOplex/orgs","repos_url":"https://api.github.com/users/KingOfOplex/repos","events_url":"https://api.github.com/users/KingOfOplex/events{/privacy}","received_events_url":"https://api.github.com/users/KingOfOplex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-09T07:16:46Z","updated_at":"2018-04-10T01:37:51Z","closed_at":null,"author_association":"NONE","body":"The XML of leaf-list is like this:\r\n[user-name] test1 [/user-name]\r\n[user-name] test2 [/user-name]\r\n\r\nI use sr_delete_item to delete the node \"test2\" with XPath /user-name[user-name='test2'].\r\nBut the sysrepo reports error as: No nodes to be deleted with strict option.\r\nIt seems that the XPath I use is something wrong. \r\nI wonder how to delete a node in leaf-list by specifying XPath."},"comment":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/comments/379945978","html_url":"https://github.com/sysrepo/sysrepo/issues/1096#issuecomment-379945978","issue_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1096","id":379945978,"user":{"login":"KingOfOplex","id":37398240,"avatar_url":"https://avatars1.githubusercontent.com/u/37398240?v=4","gravatar_id":"","url":"https://api.github.com/users/KingOfOplex","html_url":"https://github.com/KingOfOplex","followers_url":"https://api.github.com/users/KingOfOplex/followers","following_url":"https://api.github.com/users/KingOfOplex/following{/other_user}","gists_url":"https://api.github.com/users/KingOfOplex/gists{/gist_id}","starred_url":"https://api.github.com/users/KingOfOplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingOfOplex/subscriptions","organizations_url":"https://api.github.com/users/KingOfOplex/orgs","repos_url":"https://api.github.com/users/KingOfOplex/repos","events_url":"https://api.github.com/users/KingOfOplex/events{/privacy}","received_events_url":"https://api.github.com/users/KingOfOplex/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T01:37:51Z","updated_at":"2018-04-10T01:37:51Z","author_association":"NONE","body":"It is OK.Thanks very much."}}
{"actor":{"display_login":"KingOfOplex"}}