I have an XML file that has duplicate tag names within the same level so it looks like this <out><payment><value> and <out1><payment><value>. I'm trying to use a when clause in a Word template to control formatting and I can not reference the value tag so I know exactly which value I'm looking at. I can do <payment/value> but that is still not unique. I tried <out/payment/value> bt that doesn't work. Can anyone tell me how I can fully qualify the name in the Word template in a when clause?