Generating XML using cdb_get_modifications for delete operation


When a list entry is being deleted, how can we use cdb get modifications() to retrieve the deleted children in the entry?

Thank you in advance.


To receive information about ancestor list entry or presence container deletion the
CDB_GET_MODS_WANT_ANCESTOR_DELETE flag must also be included in the flags parameter.

~ man confd_lib_cdb

This command will give you more info about the cdb_get_modifications() API.

Nabil Michraf