title: Mule xpath function
body: <p>I have an xml like below</p>
  
  <pre><code>&lt;wd:report xmlns:wd="foo"&gt;  
    &lt;wd:id&gt;abc&lt;/wd:id&gt;  
    &lt;wd:id&gt;def&lt;/wd:id&gt;  
    &lt;wd:id&gt;ghi&lt;/wd:id&gt; 
  &lt;/wd:report&gt;
  </code></pre>
  
  <p>I am using an xpath 2 function to concatenate the wd:id elements as below</p>
  
  <pre><code>#[xpath3('string-join(//wd:id)')]
  </code></pre>
  
  <p>and this works except that I need to have a semicolon delimiter between the strings like abc;def;ghi. So when I use the below function</p>
  
  <pre><code>#[xpath3('string-join(//wd:id, ';')')]
  </code></pre>
  
  <p>I get an xpath parsing exception saying an unexpected token ) found . How can I avoid the error? Thanks.</p>
  
  <p>Regards,
  Hari </p>