I have a basic XML file I’m wanting to use as a name/ID lookup within an asset listing for a data record.
The problem I’m having is that I can’t get keyword replacements to work in the xpath expression.
e.g. using a hard coded name it works and returns the ID:
But trying to use the data source value as a keyword replacement I get no joy:
Assuming 12345 is the XML file asset, and %ds__region% is the data source value I want to look up in the xpath expression.
<lookup> <name id="brisbane-city">Brisbane City</name> <name id="cairns">Cairns</name> </lookup>
Am I just missing something basic (please let that be the case) or is it not possible?