<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Append XML elements to XML file based on several input rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Append-XML-elements-to-XML-file-based-on-several-input-rows/m-p/2270300#M48259</link>
    <description>ohofrichter - I tried to replicate your issue and unchecked the "Remove the XML declaration" on tWriteXMLField. That didn't work - I was expecting it to remove the declaration lines between the rows...
&lt;BR /&gt;I know that tXMLMap allows you to write only 1 xml declaration per file, regardless of how many rows you have... But that's no help with your current design...</description>
    <pubDate>Thu, 03 Apr 2014 15:42:09 GMT</pubDate>
    <dc:creator>willm1</dc:creator>
    <dc:date>2014-04-03T15:42:09Z</dc:date>
    <item>
      <title>Append XML elements to XML file based on several input rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-XML-elements-to-XML-file-based-on-several-input-rows/m-p/2270299#M48258</link>
      <description>I would like to create the following XML file based on input values. The input is simulated by tFixedFlowInput in the attached job: 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-15"?&amp;gt; 
&lt;BR /&gt;&amp;lt;test&amp;gt; 
&lt;BR /&gt; &amp;lt;testsub testattr="89"&amp;gt; 
&lt;BR /&gt; &amp;lt;testsubsub&amp;gt;59&amp;lt;/testsubsub&amp;gt; 
&lt;BR /&gt; &amp;lt;/testsub&amp;gt; 
&lt;BR /&gt; &amp;lt;testsub testattr="47"&amp;gt; 
&lt;BR /&gt; &amp;lt;testsubsub&amp;gt;86&amp;lt;/testsubsub&amp;gt; 
&lt;BR /&gt; &amp;lt;/testsub&amp;gt; 
&lt;BR /&gt;&amp;lt;/test&amp;gt; 
&lt;BR /&gt;But unfortunately the result looks as follows: 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-15"?&amp;gt; 
&lt;BR /&gt;&amp;lt;test&amp;gt; 
&lt;BR /&gt; &amp;lt;testsub testattr="89"&amp;gt; 
&lt;BR /&gt; &amp;lt;testsubsub&amp;gt;59&amp;lt;/testsubsub&amp;gt; 
&lt;BR /&gt; &amp;lt;/testsub&amp;gt; 
&lt;BR /&gt;&amp;lt;/test&amp;gt; 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-15"?&amp;gt; 
&lt;BR /&gt;&amp;lt;test&amp;gt; 
&lt;BR /&gt; &amp;lt;testsub testattr="47"&amp;gt; 
&lt;BR /&gt; &amp;lt;testsubsub&amp;gt;86&amp;lt;/testsubsub&amp;gt; 
&lt;BR /&gt; &amp;lt;/testsub&amp;gt; 
&lt;BR /&gt;&amp;lt;/test&amp;gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDY8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130686iE1602084D1824D16/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDY8.png" alt="0683p000009MDY8.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDQP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142986iFB59F393FFD39E7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDQP.png" alt="0683p000009MDQP.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDO8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145541iC9F97C3E973F339D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDO8.png" alt="0683p000009MDO8.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 03 Apr 2014 10:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-XML-elements-to-XML-file-based-on-several-input-rows/m-p/2270299#M48258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-03T10:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Append XML elements to XML file based on several input rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-XML-elements-to-XML-file-based-on-several-input-rows/m-p/2270300#M48259</link>
      <description>ohofrichter - I tried to replicate your issue and unchecked the "Remove the XML declaration" on tWriteXMLField. That didn't work - I was expecting it to remove the declaration lines between the rows...
&lt;BR /&gt;I know that tXMLMap allows you to write only 1 xml declaration per file, regardless of how many rows you have... But that's no help with your current design...</description>
      <pubDate>Thu, 03 Apr 2014 15:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-XML-elements-to-XML-file-based-on-several-input-rows/m-p/2270300#M48259</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-04-03T15:42:09Z</dc:date>
    </item>
  </channel>
</rss>

