${xpath_eval()} not working in action xml file
Posted: Wed Oct 26, 2022 6:48 pm
Hello,
I tried to use the variable ${xpath_eval()} directly in an action xml file in Author Web 25.0.0.0 but it seems that it does not work.
This is an example:
The fragment is well inserted but without the expected id in the content.
Instead, I created a custom operation to handle this.
Regards,
Johann
I tried to use the variable ${xpath_eval()} directly in an action xml file in Author Web 25.0.0.0 but it seems that it does not work.
This is an example:
Code: Select all
<a:operation id="InsertFragmentOperation">
<a:xpathCondition>descendant::gcompanionref</a:xpathCondition>
<a:arguments>
<a:argument name="fragment"><imagemap name="imagemap">${xpath_eval(ancestor-or-self::sheet/@id)} TEST</imagemap></a:argument>
<a:argument name="insertLocation">descendant::gcompanionref</a:argument>
<a:argument name="insertPosition">After</a:argument>
</a:arguments>
</a:operation>
Instead, I created a custom operation to handle this.
Regards,
Johann