include last source in template context
ignore parentAttribute set when no current node