Can you pull out bindings from a snippet using #initslot?

Does anyone know how to grab a binding from a snippet that is in a slot using #initslot function.

Try this:

#initslot(“slotTop” “template=snippetChild”)
#if($sys.currentslot.relresults.size() > 0)
#foreach( $relresult in $sys.currentslot.relresults )
the binding on my child item: $relresult.getBindings().get(’$boundVar’)
#end
#end
#endslot()

great thanks i will give that go