How to use XPath expression in Edit APP source in _ufe element?
Hello, I want to use _ufe element with universal definition of the colour.
The actual colour will be set in the xml document, e.g. in the <productname> element and his "role" attribute.
I changed the APP source for _ufe by this way:
...
//var color_value = '#0c6979';
var color_value = formating.evaluateXPath("//productname/@role");
// Print/PDF properties
style.color = ( color_value )
...
but it doesnลฅ work. Maybe the formating.evaluateXPath function doesn't return a string value?
The attempt with the direct setting of the color (a commented row) works OK.
Thanks for help
Jana

