 <p>If you prefer XPath over Groovy scripting, you can still use a simple XPath expression:</p> <pre><code>declare namespace b="base"; starts-with(//b:policies/b:policy/b:total-premium, '7.362') or starts-with(//b:policies/b:policy/b:total-premium, '6.994') or starts-with(//b:policies/b:policy/b:total-premium, '7.730') </code></pre> <p>The expected result is then <em>true</em>.</p> <p>With XPath you can use functions and operators as in other programming languages.</p>