MashZone NextGen 10.2 | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Advanced Mashup Techniques | Making Mashup Scripts Dynamic | Dynamic Mashup Syntax | Use Dynamic Mashup Expressions Inside XPath Expressions
 
Use Dynamic Mashup Expressions Inside XPath Expressions
Dynamic mashup expressions can be used in any portion of XPath expressions - as long as they are not nested. The first example defines an XPath expression to a node by evaluating the $selectedItem variable.
{$selectedItem}[matches(description, 'Ruby')
replace({$fix},{$pattern},{$new})
The second example passes string parameters to the XPath replace() function.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release