Init transaction, finish transaction and create data callbacks are not getting invoked

I am trying to use set-hook on a leaf node such that, when i configure it , another leaf in the same tree should get populated. I have following questions

  1. What is the right way to set hook for node value, using annotation.(any example related to lists would help)
  2. I have implemented a callpoint handler, with init, finish and create call backs. These call backs are not getting invoked.
    What all could be the possible reasons ?

You can use the examples.confd/intro/11-c_hooks example as a reference.

also please note that non-key (and not type empty leaves) leaves do NOT invoke create() callback, rather set_elem() callback…