<?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: Map a specific value from second loop by reference of value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Map-a-specific-value-from-second-loop-by-reference-of-value/m-p/2306027#M77606</link>
    <description>&lt;P&gt;Thanks for the answer, but that didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I want to access a node in the xml from a loop in order to determine a value there according to a parameter from the loop.&lt;/P&gt;&lt;P&gt;In the example this is:&lt;/P&gt;&lt;P&gt;give me the value in EnumerationVaalue in FlexibleDataSetInstance node within the loop in Mastersample by the value of FlexibleDataSetRef&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 07:27:00 GMT</pubDate>
    <dc:creator>Mario6</dc:creator>
    <dc:date>2022-06-13T07:27:00Z</dc:date>
    <item>
      <title>Map a specific value from second loop by reference of value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-a-specific-value-from-second-loop-by-reference-of-value/m-p/2306026#M77605</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a challenge regarding the data mapper and I holp somebody can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an XML structure I want to map to a almost identical output structure. Within the XML there are two loops and I want to access to a value of another loop by a reference that is a value in the first loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You see that in the added pictures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a condition for the attribute ColdIschemiaTimeRef. In the else part I want to set the value of the attribute Value from the other loop /CentraXXDataExchange/EffectData/FlexibleDataSetInstance by the Value of FlexibleDataSetRef referenced in FlexibleDataSetInstanceRef.&lt;/P&gt;&lt;P&gt;I already tried also to use XPathFunction but there is the right context missing. As an example: &lt;/P&gt;&lt;P&gt;//FlexibleDataSetInstance[FlexibleDataSetInstanceRef=134795714]/EnumerationValue[FlexibleValueTypeRef='COLDISCHEMIA']/Value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the value of another loop by a reference value of one loop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mario&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-a-specific-value-from-second-loop-by-reference-of-value/m-p/2306026#M77605</guid>
      <dc:creator>Mario6</dc:creator>
      <dc:date>2024-11-15T22:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Map a specific value from second loop by reference of value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-a-specific-value-from-second-loop-by-reference-of-value/m-p/2306027#M77606</link>
      <description>&lt;P&gt;Thanks for the answer, but that didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I want to access a node in the xml from a loop in order to determine a value there according to a parameter from the loop.&lt;/P&gt;&lt;P&gt;In the example this is:&lt;/P&gt;&lt;P&gt;give me the value in EnumerationVaalue in FlexibleDataSetInstance node within the loop in Mastersample by the value of FlexibleDataSetRef&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-a-specific-value-from-second-loop-by-reference-of-value/m-p/2306027#M77606</guid>
      <dc:creator>Mario6</dc:creator>
      <dc:date>2022-06-13T07:27:00Z</dc:date>
    </item>
  </channel>
</rss>

