And let's say this in an external delivery input form:
<form ... >
<!-- Variable that can contain "first", "second" or "third" -->
<set value="second" xpath="/tmp/@keywordNumber"/>
<container ... >
<!-- Showing currently the enum list (hard coded) called "first_keyword", but I want "first" not to be hard coded -->
<input label="Keyword" xpath="parameters/keywords/@first_keyword"/>
Is there a simple ish way of using e.g. /tmp/@keyword in the input xpath instead of "first", "second" or "third" being hard coded?
So I hope there's something like this existing: (Again, I know this below does not work, but hope you get the idea of what I want to achieve)
<!-- Something that would result in the xpath reading "parameters/keywords/@second_keyword" -->
<input label="Keyword" xpath="'parameters/keywords/@' + [/tmp/@keywordNumber] + '_keyword'"/>
I've also looked into xpath-values, xpathLink, xpathExpr, xpathEnum, and a few others, but not sure how they work...
Would really appreciate if anyone here knows if this really is doable and how!