title: How to use xpath xpression to check if data is present or not in wso2 ESB?
body: <p>I have captured my input id in a property and now i want to validate if the property has data or not. How to do this? I have done something like this:</p>
  
  <p>This is my property that i have set:</p>
  
  <pre><code>&lt;property xmlns:cct="http://www.tempuri.org/" name="ID" expression="//cct:ID" scope="default" type="STRING"/&gt;
  </code></pre>
  
  <p>This is my xpath xpression that should validate if property has data or not:        </p>
  
  <pre><code>count(get-property(ID)[text()])&gt;0
  </code></pre>
  
  <p>But this expression is wrong. How to solve this. Please help. Thanks in advance </p>