<?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>PDF from XSL FO smart service</title><link>https://community.appian.com/discussions/f/plug-ins/17891/pdf-from-xsl-fo-smart-service</link><description>Hi Guys , 
 I&amp;#39;m trying to generate a pdf of a dynamic table data and other content. XML file is 
 , XSL- FO is (saved as _xslStyleSheet.xsl ) and the result pdf is . 
 Smart service is not able to generate table in the PDF document. In many ways a gave</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: PDF from XSL FO smart service</title><link>https://community.appian.com/thread/70402?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 18:39:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1399ab4-d285-4672-a47f-235b53a73217</guid><dc:creator>Chanakya Volam</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="xml"&gt;&amp;lt;fo:block&amp;gt;
	&amp;lt;fo:table width=&amp;quot;100%&amp;quot; border-style=&amp;quot;outset&amp;quot; border-width=&amp;quot;0.15mm&amp;quot;&amp;gt;
		&amp;lt;fo:table-column column-width=&amp;quot;proportional-column-width(50)&amp;quot;/&amp;gt;
        &amp;lt;fo:table-column column-width=&amp;quot;proportional-column-width(50)&amp;quot;/&amp;gt;
        &amp;lt;fo:table-header&amp;gt;
			&amp;lt;fo:table-row&amp;gt;
				&amp;lt;fo:table-cell border-style=&amp;quot;groove&amp;quot; border-width=&amp;quot;0.15mm&amp;quot; display-align=&amp;quot;center&amp;quot; background-color=&amp;quot;#0071BC&amp;quot;&amp;gt;
                    &amp;lt;fo:block font-weight=&amp;quot;bold&amp;quot; font-size=&amp;quot;8pt&amp;quot; font-family=&amp;quot;sans-serif&amp;quot; text-align=&amp;quot;center&amp;quot; color=&amp;quot;white&amp;quot;&amp;gt;
                        &amp;lt;xsl:text&amp;gt;Physical Address&amp;lt;/xsl:text&amp;gt;
                    &amp;lt;/fo:block&amp;gt;
                &amp;lt;/fo:table-cell&amp;gt;
                &amp;lt;fo:table-cell border-style=&amp;quot;groove&amp;quot; border-width=&amp;quot;0.15mm&amp;quot; display-align=&amp;quot;center&amp;quot; background-color=&amp;quot;#0071BC&amp;quot;&amp;gt;
                    &amp;lt;fo:block font-weight=&amp;quot;bold&amp;quot; font-size=&amp;quot;8pt&amp;quot; font-family=&amp;quot;sans-serif&amp;quot; text-align=&amp;quot;center&amp;quot; color=&amp;quot;white&amp;quot;&amp;gt;
                        &amp;lt;xsl:text&amp;gt;Mailing Address&amp;lt;/xsl:text&amp;gt;
                    &amp;lt;/fo:block&amp;gt;
                &amp;lt;/fo:table-cell&amp;gt;
			&amp;lt;/fo:table-row&amp;gt;
		&amp;lt;/fo:table-header&amp;gt;
		&amp;lt;fo:table-body&amp;gt;
			&amp;lt;fo:table-row&amp;gt;
				&amp;lt;fo:table-cell border-style=&amp;quot;groove&amp;quot; border-width=&amp;quot;0.15mm&amp;quot; display-align=&amp;quot;center&amp;quot;&amp;gt;
                    &amp;lt;fo:block  font-size=&amp;quot;8pt&amp;quot; font-family=&amp;quot;sans-serif&amp;quot; text-align=&amp;quot;center&amp;quot;&amp;gt;
                        &amp;lt;fo:block&amp;gt;
						&amp;lt;xsl:value-of select=&amp;quot;/project/address1/addressLine1&amp;quot;/&amp;gt;
						&amp;lt;xsl:text&amp;gt; &amp;lt;/xsl:text&amp;gt;
						&amp;lt;xsl:value-of select=&amp;quot;/project/address1/addressLine2&amp;quot;/&amp;gt;,
						&amp;lt;xsl:if test=&amp;quot;project/address1/addressLine3 != &amp;#39;&amp;#39;&amp;quot;&amp;gt;
						 &amp;lt;xsl:value-of select=&amp;quot;/project/address1/addressLine3&amp;quot;/&amp;gt;
						&amp;lt;/xsl:if&amp;gt;
					&amp;lt;/fo:block&amp;gt;
					&amp;lt;fo:block&amp;gt;
						&amp;lt;xsl:value-of select=&amp;quot;/project/address1/city&amp;quot;/&amp;gt;, 
						&amp;lt;xsl:value-of select=&amp;quot;/project/address1/state&amp;quot;/&amp;gt;
						&amp;lt;xsl:text&amp;gt; &amp;lt;/xsl:text&amp;gt;
						&amp;lt;xsl:value-of select=&amp;quot;/project/address1/zip&amp;quot;/&amp;gt;
						&amp;lt;xsl:if test=&amp;quot;project/address1/zipplus4 != &amp;#39;&amp;#39;&amp;quot;&amp;gt;
							- &amp;lt;xsl:value-of select=&amp;quot;/project/address1/zipplus4&amp;quot;/&amp;gt;
						&amp;lt;/xsl:if&amp;gt;
					&amp;lt;/fo:block&amp;gt;
                    &amp;lt;/fo:block&amp;gt;
                &amp;lt;/fo:table-cell&amp;gt;
                &amp;lt;fo:table-cell border-style=&amp;quot;groove&amp;quot; border-width=&amp;quot;0.15mm&amp;quot; display-align=&amp;quot;center&amp;quot;&amp;gt;
                    &amp;lt;fo:block font-size=&amp;quot;8pt&amp;quot; font-family=&amp;quot;sans-serif&amp;quot; text-align=&amp;quot;center&amp;quot;&amp;gt;
						&amp;lt;xsl:if test=&amp;quot;/project/address2/addressLine1 = &amp;#39;&amp;#39;&amp;quot;&amp;gt;
							&amp;lt;xsl:text&amp;gt;Not Applicable&amp;lt;/xsl:text&amp;gt;
						&amp;lt;/xsl:if&amp;gt;
						&amp;lt;xsl:if test=&amp;quot;/project/address2/addressLine1 != &amp;#39;&amp;#39;&amp;quot;&amp;gt;
							&amp;lt;fo:block&amp;gt;
								&amp;lt;xsl:value-of select=&amp;quot;/project/address2/addressLine1&amp;quot;/&amp;gt;
                                &amp;lt;xsl:text&amp;gt; &amp;lt;/xsl:text&amp;gt; 
								&amp;lt;xsl:value-of select=&amp;quot;/project/address2/addressLine2&amp;quot;/&amp;gt;,
								&amp;lt;xsl:if test=&amp;quot;project/address2/addressLine3 != &amp;#39;&amp;#39;&amp;quot;&amp;gt;
								  &amp;lt;xsl:value-of select=&amp;quot;/project/address2/addressLine3&amp;quot;/&amp;gt;
								&amp;lt;/xsl:if&amp;gt; 
							&amp;lt;/fo:block&amp;gt;
							&amp;lt;fo:block&amp;gt;
								&amp;lt;xsl:value-of select=&amp;quot;/project/address2/city&amp;quot;/&amp;gt;, 
								&amp;lt;xsl:value-of select=&amp;quot;/project/address2/state&amp;quot;/&amp;gt;
								&amp;lt;xsl:text&amp;gt; &amp;lt;/xsl:text&amp;gt;
								&amp;lt;xsl:value-of select=&amp;quot;/project/address2/zip&amp;quot;/&amp;gt;
								&amp;lt;xsl:if test=&amp;quot;project/address2/zipplus4 != &amp;#39;&amp;#39;&amp;quot;&amp;gt;
									- &amp;lt;xsl:value-of select=&amp;quot;/project/address2/zipplus4&amp;quot;/&amp;gt;
								&amp;lt;/xsl:if&amp;gt;
							&amp;lt;/fo:block&amp;gt;
						&amp;lt;/xsl:if&amp;gt;
                    &amp;lt;/fo:block&amp;gt;
                &amp;lt;/fo:table-cell&amp;gt;
			&amp;lt;/fo:table-row&amp;gt;
		&amp;lt;/fo:table-body&amp;gt;
	&amp;lt;/fo:table&amp;gt;
&amp;lt;/fo:block&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is a sample table code which should work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>