<?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: tXMLMAP from Positional File with Generic Schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346753#M114111</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The 'All in one' option can't be used with Aggregate element together. In your case, you set a consumerAgencyId as an aggregate element, then 'All in one' becomes false. &lt;/P&gt;&lt;P&gt;I don't understand the problem you mentioned 'The next &amp;lt;consumer&amp;gt; tag has the same consumerAgencyId but without AddressLine1 and instead one of the other values provided." Can you post the full output from the talend Job? and what are your expected output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 07:37:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-31T07:37:13Z</dc:date>
    <item>
      <title>tXMLMAP from Positional File with Generic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346752#M114110</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use Talend Open Studio For Data Integration &lt;I&gt;v.8.0.1.20211109&lt;/I&gt; to take a positional file and turn it into an XML file. The positional file has a very simple schema with a Field Code denoting the type of data that follows in the New Value column. I need to take all this data, group it by the account number, and build an XML file. My current job is very simple: &lt;U&gt;tFileInputPositional -&amp;gt; tLogRow -&amp;gt; tXMLMap -&amp;gt; tFileOutputXML&lt;/U&gt; but I'm not getting my desired output.&lt;/P&gt;&lt;P&gt;Instead, I am getting an XML file containing a separate XML tree for each line in the positional file. One for Address Line 1, one for Address Line2, one for City, etc. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set the All In One flag on the Target Schema in the tXMLMap before creating the XML tree. Now its set back to False and I'm not able to edit it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000htLAYAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130945i94B61D324CB0CCF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000htLAYAA2.png" alt="0695b00000htLAYAA2.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000htLAsAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147103i4DCCE239AB7ED902/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000htLAsAAM.png" alt="0695b00000htLAsAAM.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the tXMLMap as so to identify where the data stored in NewValue needs to go in the XML tree&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000htLBMAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144766i2051082F03456A0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000htLBMAA2.png" alt="0695b00000htLBMAA2.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I get from the Talend job. The next &amp;lt;consumer&amp;gt; tag has the same consumerAgencyId but without AddressLine1 and instead one of the other values provided.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000htLCyAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150577i77B098DAF2CE7838/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000htLCyAAM.png" alt="0695b00000htLCyAAM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 21:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346752#M114110</guid>
      <dc:creator>NAdams1685481650</dc:creator>
      <dc:date>2023-05-30T21:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMAP from Positional File with Generic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346753#M114111</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The 'All in one' option can't be used with Aggregate element together. In your case, you set a consumerAgencyId as an aggregate element, then 'All in one' becomes false. &lt;/P&gt;&lt;P&gt;I don't understand the problem you mentioned 'The next &amp;lt;consumer&amp;gt; tag has the same consumerAgencyId but without AddressLine1 and instead one of the other values provided." Can you post the full output from the talend Job? and what are your expected output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 07:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346753#M114111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-31T07:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMAP from Positional File with Generic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346754#M114112</link>
      <description>&lt;P&gt;I've attached the XML file that the job outputs. The output is identical even after removing the Aggregate element and setting the All In One option to true. My desired output is one &amp;lt;consumer&amp;gt; tag per consumerAgencyId with all of the attributes from the positional file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue appears to be that the positional file contains one row per attribute for an consumer. So I need to read multiple rows from the positional file and transform that into a single XML 'row' using the consumerAgencyId as the key. I'm struggling to understand how to use Talend to accomplish that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 15:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346754#M114112</guid>
      <dc:creator>NAdams1685481650</dc:creator>
      <dc:date>2023-05-31T15:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMAP from Positional File with Generic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346755#M114113</link>
      <description>&lt;P&gt;Just following up, is this something that Talend is able to accomplish? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reiterate, I want to read data from a file, group the rows that have the same key (consumerAgencyId), read each row to determine which XML element is defined, and then fill out an XML tree using those rows. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Talend Open Studio isn't able to do such work, what version will?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 16:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMAP-from-Positional-File-with-Generic-Schema/m-p/2346755#M114113</guid>
      <dc:creator>NAdams1685481650</dc:creator>
      <dc:date>2023-06-02T16:19:51Z</dc:date>
    </item>
  </channel>
</rss>

