[NTG-context] Map XML attributes to variables, dynamically