<?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>I have an expression «${s.xxxName}» where it pulls a value from DB.  I</title><link>https://community.appian.com/discussions/f/general/6579/i-have-an-expression-s-xxxname-where-it-pulls-a-value-from-db-i</link><description>I have an expression &amp;#171;${s.xxxName}&amp;#187; where it pulls a value from DB. It&amp;#39;s throwing error &amp;quot;The entity name must immediately follow the &amp;#39;&amp;amp;&amp;#39; in the entity reference&amp;quot; this when there are special characters in xxxName like &amp;#39;&amp;amp;&amp;#39; I have can you please how I can</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.  I</title><link>https://community.appian.com/thread/108793?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 06:30:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a9ac0f6-ee1a-4a6d-b9be-3d1fb7d201a0</guid><dc:creator>shilpa D</dc:creator><description>&lt;p&gt;This may help to solve this issue&lt;br /&gt;&lt;br /&gt;reduce(&lt;br /&gt; fn!substitute,&lt;br /&gt; /*to HTML not neede when all escape char are used, otherwise will doulble escape (e.g. &amp;quot;lt;&amp;quot; without &amp;amp;)*/&lt;br /&gt; /*toHtml(*/&lt;br /&gt; ri!inputStr&lt;br /&gt; /*)*/&lt;br /&gt; ,&lt;br /&gt; merge(&lt;br /&gt; {&lt;br /&gt; &amp;quot;&amp;amp;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;lt;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;gt;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;#39;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;quot;&amp;quot;&amp;quot;,&lt;br /&gt; char(10)&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; &amp;quot;&amp;amp;amp;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;amp;lt;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;amp;gt;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;amp;apos;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;amp;quot;&amp;quot;,&lt;br /&gt; &amp;quot;&amp;amp;#xA;&amp;quot;&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;For ri!inputStr, pass the value which contains the above special characters&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.  I</title><link>https://community.appian.com/thread/77562?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2020 09:38:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ba2d6e1-4f9b-4b9c-a707-8b6c8eb0e234</guid><dc:creator>ManuelHTG</dc:creator><description>&lt;p&gt;using tohtml() solves the problem. You should use it in the nod of the word-document&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.  I</title><link>https://community.appian.com/thread/77561?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2020 08:32:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49ce9b6a-7650-4adb-a544-f6fb1a34ae37</guid><dc:creator>divyam0003</dc:creator><description>&lt;p&gt;I tried using tohtml( index() &amp;amp;index()) in the same way as above but still has the same issue(displaying &amp;quot;&amp;amp;amp&amp;quot; in the pdf).&lt;/p&gt;
&lt;p&gt;Can you please let me know how did it work for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.  I</title><link>https://community.appian.com/thread/56994?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 11:09:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72ce8f59-969f-4faf-9dfe-34d64fa26c07</guid><dc:creator>harshav</dc:creator><description>I tried this way and it is working fine....&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.  I</title><link>https://community.appian.com/thread/56944?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 02:40:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48e984b9-5427-4868-83fb-32b607edfa4e</guid><dc:creator>chandhinir</dc:creator><description>Can try tohtml(&amp;quot;Test &amp;amp; Test&amp;quot;) function to handle special characters&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.  I</title><link>https://community.appian.com/thread/56927?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 14:24:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f19f44f5-5595-4e53-ad62-059ff8dc0990</guid><dc:creator>harshav</dc:creator><description>Hi Riyazs,&lt;br /&gt;
&lt;br /&gt;
Could you please let me know the solution or fix for this.... like.... how did you avoid &amp;amp;amp when displaying the data.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.&lt;br /&gt;&lt;br /&gt;I</title><link>https://community.appian.com/thread/25874?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2015 18:48:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07f9509a-fff5-4300-8d3b-5b1c47999522</guid><dc:creator>riyazs</dc:creator><description>Thank you sushik17 and harshav I have followed below substitute process I am able to generate PDF but in the result &amp;quot;&amp;amp;&amp;quot; showing differently at two places.Any suggestions&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/12_2D00_28_2D00_2015-9_2D00_39_2D00_28-AM.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/12_2D00_28_2D00_2015-9_2D00_39_2D00_28-AM.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/12_2D00_28_2D00_2015-9_2D00_43_2D00_47-AM.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/12_2D00_28_2D00_2015-9_2D00_43_2D00_47-AM.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.&lt;br /&gt;&lt;br /&gt;I</title><link>https://community.appian.com/thread/25870?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2015 15:25:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4ec90f7-a625-435c-aa7a-49e69b43a3ea</guid><dc:creator>harshav</dc:creator><description>But if you definetely want to have the &amp;#39;&amp;amp;&amp;#39; in the word document, I am not sure of the exact solution but you can try passing the ascii codes for this special chars.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.&lt;br /&gt;&lt;br /&gt;I</title><link>https://community.appian.com/thread/25869?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2015 15:24:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92e4a992-ae3f-4070-9dea-c28c4e30d8ad</guid><dc:creator>harshav</dc:creator><description>AFAIK, When you have the &amp;amp; in the word document itself i will not be generated, In other words the Smart service using the generate word document from template will be executed but the word document will not be opened. so when converting from word to pdf also fails... Try removing the &amp;amp; kind of special characters and run it.. I have faced the similar situation and I removed all the &amp;#39;&amp;amp;&amp;#39; and I could able to open and convert successfully&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have an expression «${s.xxxName}» where it pulls a value from DB.&lt;br /&gt;&lt;br /&gt;I</title><link>https://community.appian.com/thread/25863?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2015 10:14:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cca57c05-1e5a-4684-ab49-0b5ecea08630</guid><dc:creator>sushilk17</dc:creator><description>=&amp;quot;$&amp;quot;&amp;amp;{s.xxxName}&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>