executeTemplate xml fields order matter
_wordsApi.PostExecuteTemplate(
name: “template.docx”,
withRegions: false,
cleanup: null,
filename: “template.pdf”,
storage: null,
useWholeParagraphAsRegion: false,
file: Encoding.UTF8.GetBytes(GetXml()),
folder: null);
GetXml() returns data from _simple_sample.xml
sample.zip (20.4 KB)
If I change order of “first” and “second” elements I’ll get expected output
expected_output.pdf (15.7 KB)