How to use foreach for multiple items in word mail merge Using PHP

<?xml version="1.0" encoding="UTF-8"?> 23 Nelson Street Howick Auckland 543 1234 03/01/2010 14.00 BBQ Chicken Pizza 6.00 1 6.00 1.5 Litre Coke 4.00 2 8.00 10 Parkville Avenue Pakuranga Auckland 548 7342 05/03/2010 6.00 Hawaiian Pizza 4.00 1 4.00 Fries 1.00 2 2.00

This is my Xml file
how to create a word document for this in msword


Submitted from: http://saaspose.com/

Hi Allen,

I have attached detailed 'Execute Template' REST and SDK examples with your earlier ticket 208. Sample documents and XML with required usage directions are also attached. Please check my latest reply to ticket 208 and let us know if you still find any difficulty. You can also check http://saaspose.com/docs/display/words/SaaSpose.Words+Templates+1.0+Features for how to prepare your templates.

Best Regards,
Muhammad Ijaz

Support Developer, Saaspose
Sialkot Team
http://www.saaspose.com