<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DOCX From Dynamic Template</title><link>https://community.appian.com/discussions/f/general/30107/docx-from-dynamic-template</link><description>I am getting error like Premature End of file while generating Pdf how can i resolve this ? 
 
 This is my rule to generate xml and in PM i am getting error 
 
 
 This is XML Output : pdfXmlData:&amp;lt;dynamic&amp;gt;&amp;lt;batch&amp;gt;2023-0098&amp;lt;/batch&amp;gt;&amp;lt;date&amp;gt;9/22/2023&amp;lt;/date&amp;gt;</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: DOCX From Dynamic Template</title><link>https://community.appian.com/thread/119696?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2023 15:35:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb7851fa-898f-4ab8-b167-bede49e61fa4</guid><dc:creator>Sudhir Singh</dc:creator><description>&lt;p&gt;OK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOCX From Dynamic Template</title><link>https://community.appian.com/thread/119693?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2023 15:04:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36e3c630-e372-4fed-9d7f-97b812a40e60</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;XML looks OK. I suspect perhaps something is corrupt in the template file. Maybe try starting again from scratch and putting in the&amp;nbsp;merge fields one by one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOCX From Dynamic Template</title><link>https://community.appian.com/thread/119688?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2023 04:42:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0bcb3b15-2bd8-4950-89e8-9c6c6c5b8136</guid><dc:creator>Sudhir Singh</dc:creator><description>&lt;p&gt;No, it is giving that error in word only&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOCX From Dynamic Template</title><link>https://community.appian.com/thread/119671?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 16:42:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be73c5ff-cce5-4a2e-9e25-4198247bb403</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Before converting to PDF, is the Word Document being generated correctly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>