i want to reference a variable hierarchy ( xpath ) in an error message. how can i do this? e.g.
so in an error message, if the current doc variable is var4, the variable name should appear as DocA.var4 in the error message. IF it is var3 it should appear as DocA.DocB.DocC.var3