xml to List conversion in mule esb using data weave component
问题 I have the following xml as my input InputXML: <Orders> <Order> <sample id="1"></sample> <sample id="2"></sample> . . . . </Order> <Order> <sample id="1"></sample> <sample id="2"></sample> . . . . </Order> <Order> <sample id="1"></sample> <sample id="2"></sample> . . . . </Order> . . . . </Orders> I need to send this xml to the batch component in my flow. My batch should accept each record in the following manner Record1:1st Order Record2:2nd Order Record3:3rd Order . . . . Now please let me