NETCONF delete with XPATH usage

I am trying to create an edit-config with delete operation but using an xpath filter like the following

“filter type=”xpath” select=”/sdl/config/global-config/notifications/subscription-services/service[notification-type=‘RR’] "

But i cannot find a way to add it in an xml file and run it !

How do you issue such a command for DELETE ?

Please refer to the NETCONF specifikation, i.e. RFC 6241. The <filter> element, whether with “subtree” or “xpath” as value for the ‘type’ attribute, is only available for <get> and <get-config>, not for <edit-config>.