Tailf:link usage

I want to allocate one node (leaf) data to other node.

container IOSXR {
          when "/ncs:devices/ncs:device[ncs:name=current()/../Switch]/ncs:platform/ncs:name='ios-xr'";
          list GigabitEthernet {
            key "GigabitEthernet";
            leaf GigabitEthernet {
              tailf:info "GigabitEthernet Interface ID";
              mandatory true;
              type leafref {
                path "deref(../../../Switch)/../ncs:config/cisco-ios-xr:interface/cisco-ios-xr:GigabitEthernet/cisco-ios-xr:id";
              }
            }
            uses Trunk;
          }
		} 

Under Trunk Grouping I have tried to link GigabitEthernet to new leaf “intf-number” as per below;-

leaf intf-number {
 {
**tailf:link "/ncs:devices/ncs:device[name=current()/../../../Switch]/ncs:config/cisco-ios-xr:interface/GigabitEthernet[id=current()/cisco-ios-xr:id]";**
tailf:info "GigabitEthernet Interface ID";
mandatory true;
type leafref {
path "deref(../../../../../../Switch)/../ncs:config/cisco-ios-xr:interface/cisco-ios-xr:GigabitEthernet/cisco-ios-xr:id";
}
}

Above tailf:link is not working fine…

Need your support to achieve below target

**GigabitEthernet = 0/0/0/0  (Working fine)**
**intf-number=GigabitEthernet   (Support / Suggestions requested)** 

Regards,
Bjron

You want to ask NSO your related questions here:
https://community.cisco.com/t5/nso-developer-hub-discussions/bd-p/5672j-disc-dev-nso

I believe you are breaking some NSO package fundamentals when pointing to places outside of your NSO package.