Refer to the following posting for a demo on how to use confirmed-commit:
How does NETCONF Confirmed Commit work with ConfD?