I am having issues with both cURL and your online tool for testing mailmerge.
I am using the exact files from your github repository:
Customers.xml
TestFileXML.doc
On the online mailmerge, I get: TypeError: Failed to fetch
Using cURL I get invalid file format
Not sure why this isnt working, especially since I am using your files to test.
Help would be greatly appreciated.
@debtpaypro
We have tested the scenario and noticed unfortunately subjected template and data are not working as expected. So we have logged a ticket WORDSCLOUD-1379 for further investigation and rectification. However, you may try other sample templates and data files to get started with Aspose.Words REST API.
@debtpaypro
After the initial investigation, we found that Aspose.Words Cloud API is not supporting XML shortcuts for object declaration like
<customer ID="1", Name="Name" ...</>
So as a workaround, it should be changed to a full declaration like
<?xml version="1.0" encoding="utf-8"?>
<customers>
<customer>
<Name>John Ben Jan</Name>
<ID>1</ID>
<Domain>History</Domain>
<City>Boston</City>
</customer>
<customer>
<Name>Lisa Lane</Name>
<ID>2</ID>
<Domain>Chemistry</Domain>
<City>LA</City>
</customer>
<customer>
<Name>Dagomir Zits</Name>
<ID>3</ID>
<Domain>Heraldry</Domain>
<City>Milwaukee</City>
</customer>
<customer>
<Name>Sara Careira Santy</Name>
<ID>4</ID>
<Domain>IT</Domain>
<City>Miami</City>
</customer>
</customers>
However, we are working for a fix to support both types of declaration and will update you as soon as it is published.
The issues you have found earlier (filed as WORDSCLOUD-1379) have been fixed in this update. This message was posted using Bugs notification tool by Ivanov_John