So far I have been using this code, however the result is that nextTemplateNodeEntry is undefined - even though the voids option is on and it is meant
nextTemplateNodeEntry
voids