title: foreach in xml-node return null in mule esb
body: <p>I am using below flow.    </p>
  
  <pre><code> &lt;flow name="mytestFlow1" doc:name="mytestFlow1"&gt;
          &lt;http:inbound-endpoint mimeType="text/xml" path="xmltest" exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/&gt;
          &lt;foreach collection="#[xpath://file//data//deliveryOrder]" doc:name="For Each" &gt;
              &lt;echo-component /&gt;
              &lt;logger level="INFO" message="#[payload]" /&gt;
              &lt;logger level="INFO" message="#[rootMessage]" /&gt;
          &lt;/foreach&gt;
      &lt;/flow&gt;
  </code></pre>
  
  <p>and posting below xml.</p>
  
  <pre><code>&lt;file&gt;
    &lt;data&gt;
      &lt;deliveryOrder&gt;
        &lt;deliveryMethod&gt;TRUCK1&lt;/deliveryMethod&gt;
      &lt;/deliveryOrder&gt;
      &lt;deliveryOrder&gt;
        &lt;deliveryMethod&gt;TRUCK21&lt;/deliveryMethod&gt;
      &lt;/deliveryOrder&gt;
      &lt;deliveryOrder&gt;
        &lt;deliveryMethod&gt;TRUCK2&lt;/deliveryMethod&gt;
      &lt;/deliveryOrder&gt;
    &lt;/data&gt;
  &lt;/file&gt;
  </code></pre>
  
  <p>when I am running my flow echo component is print correct but logger print null. I also used custom transformer it also print null.</p>
  
  <p>Any suggestion is appreciate.</p>