{"id":445,"date":"2018-04-07T15:03:47","date_gmt":"2018-04-07T15:03:47","guid":{"rendered":"http:\/\/www.gologica.com\/blog\/?p=445"},"modified":"2019-11-28T10:16:20","modified_gmt":"2019-11-28T10:16:20","slug":"xml-publisher-interview-questions-and-answers","status":"publish","type":"post","link":"https:\/\/www.gologica.com\/elearning\/xml-publisher-interview-questions-and-answers\/","title":{"rendered":"XML Publisher Interview Questions and Answers"},"content":{"rendered":"<p><strong>How to create report without .rdf report builder?<\/strong><\/p>\n<p>Using Data template<\/p>\n<p><strong>How to write a loop in rtf template design?<\/strong><\/p>\n<p>&lt;?for-each:group_column_name?&gt;<\/p>\n<p>Here is layout column<\/p>\n<p>&lt;?end for each?&gt;<\/p>\n<p><strong>What are the XML publisher backend tables?<\/strong><\/p>\n<p>PER_GB_XDO_TEMPLATES<br \/>\nXDO_DS_DEFINITIONS_B<br \/>\nXDO_DS_DEFINITIONS_TL<br \/>\nXDO_DS_DEFINITIONS_VL<br \/>\nXDO_LOBS<br \/>\nXDO_TEMPLATES_B<br \/>\nXDO_TEMPLATES_TL<br \/>\nXDO_TEMPLATES_VL<br \/>\nXDO_TEMPLATE_FIELDS<br \/>\nXDO_TRANS_UNITS<br \/>\nXDO_TRANS_UNIT_PROPS<br \/>\nXDO_TRANS_UNIT_VALUES<\/p>\n<table style=\"background: #d9dde2;\">\n<tbody>\n<tr>\n<td style=\"border: 1px solid black;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/www.gologica.com\/course\/oracle-bi-publisher-training\/\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-2955\" src=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1.jpg\" alt=\"XML Publisher Online Training\" width=\"850\" height=\"200\" srcset=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1.jpg 850w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1-460x108.jpg 460w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1-768x181.jpg 768w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1-100x24.jpg 100w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1-600x141.jpg 600w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1-120x28.jpg 120w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-1-310x73.jpg 310w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p><strong>How to design sub templates in rtf layout?<\/strong><\/p>\n<p>using following tags..<\/p>\n<p>&lt;?template:template_name?&gt;<\/p>\n<p>This is Last Page<\/p>\n<p>&lt;?end template?&gt;<\/p>\n<p><strong>How to call a header or footer?<\/strong><\/p>\n<p>using the following header and footer tags<\/p>\n<p>&lt;?call:header?&gt;<\/p>\n<p>&lt;?call:footer?&gt;<\/p>\n<p>Just use the tags on header and footer section of the page.<\/p>\n<p><strong>How to break the page in specific condition?<\/strong><\/p>\n<p>Use the following tag &lt;?split-by-page-break:?&gt;<\/p>\n<p><strong>How to use section break ?<\/strong><\/p>\n<p>&lt;?for-each@section:G_CUSTOMER(This is group name)?&gt;<\/p>\n<p><strong>How to create multi layouts in XMLP?<\/strong><\/p>\n<p>using below conditions<\/p>\n<p>&lt;?choose:?&gt;<\/p>\n<p>&lt;?when:CF_CHOICE=\u2019VENDOR\u2019?&gt;<\/p>\n<p>Your template\u2026.<\/p>\n<p>&lt;?end when?&gt;<\/p>\n<p>&lt;?when:CF_CHOICE=\u2019INVOICE\u2019?&gt;<\/p>\n<p>Your template\u2026.<\/p>\n<p>&lt;?end when?&gt;<\/p>\n<p>&lt;?when:CF_CHOICE=\u2019RECEIPT\u2019?&gt;<\/p>\n<p>Your template\u2026.<\/p>\n<p>&lt;?end when?&gt;<\/p>\n<p>&lt;?end choose?&gt;<\/p>\n<p><strong>How to calculate the running total in XMLP?<\/strong><\/p>\n<p>&lt;?xdoxslt:set_variable($_XDOCTX, &#8216;RTotVar&#8217;, xdoxslt:get_variable($_XDOCTX, &#8216;RTotVar&#8217;) + ACCTD_AMT(This is column name))?&gt;&lt;?xdoxslt:get_variable($_XDOCTX, &#8216;RTotVar&#8217;)?&gt;<\/p>\n<p><strong>How to submit a layout in the backend?<\/strong><\/p>\n<p>Use the below code write a procedure<\/p>\n<p>fnd_request.add_layout<\/p>\n<p>(template_appl_name\u00a0\u00a0\u00a0\u00a0\u00a0 =&gt; &#8216;application name&#8217;,<\/p>\n<p>template_code\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0=&gt; &#8216;your template code&#8217;,<\/p>\n<p>template_language\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 =&gt; &#8216;En&#8217;,<\/p>\n<p>template_territory\u00a0\u00a0\u00a0\u00a0\u00a0 =&gt; &#8216;US&#8217;,<\/p>\n<p>output_format\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 =&gt; &#8216;PDF&#8217;<\/p>\n<p>);<\/p>\n<p><strong>How to display the images in XMLP?<\/strong><\/p>\n<p>url:{&#8216;http:\/\/image location&#8217;}<\/p>\n<p>For example, enter:<\/p>\n<p>url:{&#8216;http:\/\/www.oracle.com\/images\/ora_log.gif&#8217;}<\/p>\n<p>url:{&#8216;${OA_MEDIA}\/image name&#8217;}<\/p>\n<table style=\"background: #d9dde2;\">\n<tbody>\n<tr>\n<td style=\"border: 1px solid black;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/www.gologica.com\/course\/oracle-bi-publisher-training\/\"><img decoding=\"async\" class=\"alignnone size-full wp-image-2956\" src=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2.jpg\" alt=\"BI  Publisher Online Training\" width=\"850\" height=\"200\" srcset=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2.jpg 850w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2-460x108.jpg 460w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2-768x181.jpg 768w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2-100x24.jpg 100w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2-600x141.jpg 600w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2-120x28.jpg 120w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2018\/04\/XML-Publisher-Interview-Questions-and-Answers-2-310x73.jpg 310w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p><strong>How to pass the page numbers in rtf layout?<\/strong><\/p>\n<p>&lt;REPORT&gt;<\/p>\n<p>&lt;PAGESTART&gt;200&lt;\\PAGESTART&gt;<\/p>\n<p>&#8230;.<\/p>\n<p>&lt;\/REPORT&gt;<\/p>\n<p>Enter the following in your template:<\/p>\n<p>&lt;?initial-page-number:PAGESTART?&gt;<\/p>\n<p><strong>How to display\u00a0last page\u00a0is differently in XML Publisher Reports?<\/strong><\/p>\n<p>what you want to display the test anything\u00a0write in last of page<br \/>\nlast page header<\/p>\n<p>&lt;?start@last-page-first:body?&gt;\u00a0\u00a0\u00a0 &lt;?end body?&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to create report without .rdf report builder? Using Data template How to write a loop in rtf template design? &hellip;<\/p>\n","protected":false},"author":1,"featured_media":2238,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"coauthors":[182],"class_list":["post-445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oracle_intervew_questions","user-has-not-earned"],"_links":{"self":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/comments?post=445"}],"version-history":[{"count":6,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts\/445\/revisions"}],"predecessor-version":[{"id":2957,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts\/445\/revisions\/2957"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/media\/2238"}],"wp:attachment":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/media?parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/categories?post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/tags?post=445"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/coauthors?post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}