<?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>Dynamic doc generation with images &amp;amp; its description</title><link>https://community.appian.com/discussions/f/process/30244/dynamic-doc-generation-with-images-its-description</link><description>How to generate a dynamic docx template from images with description appended adjacent to it</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Dynamic doc generation with images &amp; its description</title><link>https://community.appian.com/thread/120243?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2023 13:51:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8433d9bc-ecbe-4437-957e-14c21556d467</guid><dc:creator>Deepak Johari</dc:creator><description>&lt;p&gt;Hi Rishi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Passing below XML data model and image shows the corresponding DOCX template. and then accessing it word using the below _index code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;value&amp;gt;&lt;br /&gt;&amp;lt;count&amp;gt;6&amp;lt;/count&amp;gt;&lt;br /&gt;&amp;lt;imageDescription&amp;gt;desc1&amp;lt;/imageDescription&amp;gt;&lt;br /&gt;&amp;lt;imageDescription&amp;gt;desc2&amp;lt;/imageDescription&amp;gt;&lt;br /&gt;&amp;lt;imageDescription&amp;gt;desc3&amp;lt;/imageDescription&amp;gt;&lt;br /&gt;&amp;lt;imageDescription&amp;gt;desc4&amp;lt;/imageDescription&amp;gt;&lt;br /&gt;&amp;lt;imageDescription&amp;gt;desc5&amp;lt;/imageDescription&amp;gt;&lt;br /&gt;&amp;lt;imageDescription&amp;gt;desc6&amp;lt;/imageDescription&amp;gt;&lt;br /&gt;&amp;lt;/value&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[#list issueImages as issueImages]&lt;br /&gt;&lt;br /&gt;IMAGE HERE&lt;br /&gt;&lt;br /&gt;${doc.value.imageDescription[issueImages_index]}&lt;br /&gt;&lt;br /&gt;[/#list]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope this helps&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>