<?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 adding multiple rows to nested xml in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/adding-multiple-rows-to-nested-xml/m-p/2234010#M23508</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to get this working for some time and don't reach my target so I hope to get some input by you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an existing XML which i manipulate in an thMap to adjust XML Tags etc. and now i would like to add different Values from row to two nested Tags.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looks like this:&lt;BR /&gt;tFileInputXML&amp;nbsp;-- (document) -- thMap -- (document) ... what ever has to be done to get this work .... (document) -- tFileOutputXML&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the XML from the ThMap output is like this (short Version):&lt;/P&gt;
&lt;PRE&gt;&amp;lt;Output &amp;gt;
  &amp;lt;products&amp;gt;
    &amp;lt;client_uid&amp;gt;&amp;lt;/client_uid&amp;gt;
    &amp;lt;attrs&amp;gt;
      &amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;
    &amp;lt;/attrs&amp;gt;
    &amp;lt;attrs&amp;gt;
      &amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;
    &amp;lt;/attrs&amp;gt;&lt;/PRE&gt;
&lt;P&gt;and now&amp;nbsp;I have rows which should get into those attrs/name and attrs/value tags (add them on the end of those existing attrs tags).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So i have a row with the client_uid (to match with those from thMap output) and then a String like "Structure1" and its Value from another row "blabla1", then "Structure2" and the second "blabla2" how can i get that into the existing tags with max performance? (i did some workaround stuff and the job was going like 3h -.-)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i thank you already for reading this and sorry if this question was already answered (i was searching for days but maybe i just didn't search the right keywords)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ps. in Attachment some pix from the Job may give you a better overview &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings&lt;/P&gt;
&lt;P&gt;Slechtvalker&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:46:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:46:58Z</dc:date>
    <item>
      <title>adding multiple rows to nested xml</title>
      <link>https://community.qlik.com/t5/Talend-Studio/adding-multiple-rows-to-nested-xml/m-p/2234010#M23508</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to get this working for some time and don't reach my target so I hope to get some input by you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an existing XML which i manipulate in an thMap to adjust XML Tags etc. and now i would like to add different Values from row to two nested Tags.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looks like this:&lt;BR /&gt;tFileInputXML&amp;nbsp;-- (document) -- thMap -- (document) ... what ever has to be done to get this work .... (document) -- tFileOutputXML&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the XML from the ThMap output is like this (short Version):&lt;/P&gt;
&lt;PRE&gt;&amp;lt;Output &amp;gt;
  &amp;lt;products&amp;gt;
    &amp;lt;client_uid&amp;gt;&amp;lt;/client_uid&amp;gt;
    &amp;lt;attrs&amp;gt;
      &amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;
    &amp;lt;/attrs&amp;gt;
    &amp;lt;attrs&amp;gt;
      &amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;
    &amp;lt;/attrs&amp;gt;&lt;/PRE&gt;
&lt;P&gt;and now&amp;nbsp;I have rows which should get into those attrs/name and attrs/value tags (add them on the end of those existing attrs tags).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So i have a row with the client_uid (to match with those from thMap output) and then a String like "Structure1" and its Value from another row "blabla1", then "Structure2" and the second "blabla2" how can i get that into the existing tags with max performance? (i did some workaround stuff and the job was going like 3h -.-)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i thank you already for reading this and sorry if this question was already answered (i was searching for days but maybe i just didn't search the right keywords)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ps. in Attachment some pix from the Job may give you a better overview &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings&lt;/P&gt;
&lt;P&gt;Slechtvalker&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/adding-multiple-rows-to-nested-xml/m-p/2234010#M23508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:46:58Z</dc:date>
    </item>
  </channel>
</rss>

