<?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: [resolved] tXMLMap - get only first expression filtered row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263533#M43656</link>
    <description>Im filtering it with a value in an element in the XML shong. 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Example: I am sending an XML that has a loop of&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;10&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;operators, and from my filter expression, I got&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;7&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;available operators. How can I make the mapping/looping/filtering only pass to the next component only&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;available operator?&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Tue, 02 Feb 2016 02:43:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-02T02:43:15Z</dc:date>
    <item>
      <title>[resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263527#M43650</link>
      <description>Hi all, 
&lt;BR /&gt;Im working with a tXMLMap in extracting some fields from an XML file into single variables. I have an expression filter in the output row on a certain tag in the XML, which works fine since I am getting the expected rows. 
&lt;BR /&gt;But, I only need to get the first filtered row and send it to a tJavaRow component, how is this possible? (I can tell it loops since it prints the same outputs over the number of rows returned) 
&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 20 Jan 2016 03:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263527#M43650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-20T03:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263528#M43651</link>
      <description>Hi&amp;nbsp;&lt;BR /&gt;You may add a sequence id to each row on a tMap and filter the first row.</description>
      <pubDate>Thu, 21 Jan 2016 09:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263528#M43651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T09:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263529#M43652</link>
      <description>Hi shong,
&lt;BR /&gt;Thanks for the suggestion, but can you give me an example of this solution? I cant seem to grasp the actual implementation.</description>
      <pubDate>Thu, 21 Jan 2016 09:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263529#M43652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T09:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263530#M43653</link>
      <description>...tXMLMap---main--tMap--out1--tJavaRow
&lt;BR /&gt;on tMap, add a new variable called var1 in Var table, and set its expression values as:
&lt;BR /&gt;Numeric.sequence("s1",1,1)
&lt;BR /&gt;In the output table of tMap, add a filter expression to filter only the first row:
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Var.var1==1&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;I hope this helps!</description>
      <pubDate>Thu, 21 Jan 2016 09:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263530#M43653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T09:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263531#M43654</link>
      <description>Hi shong, 
&lt;BR /&gt;The added variable works, thanks. But I have another problem: 
&lt;BR /&gt;I am adding a filter expression in the output row (String variable) of the tXMLMap, which returns 2 or more instances from the input row XML (Document variable). How can I set it to only return 1 row from the filtered expression? 
&lt;BR /&gt;Example: I am sending an XML that has a loop of 
&lt;B&gt;10 &lt;/B&gt;operators, and from my filter expression, I got 
&lt;B&gt;7&lt;/B&gt; available operators. How can I make the mapping/looping/filtering only pass to the next component only 
&lt;B&gt;1&lt;/B&gt; available operator?</description>
      <pubDate>Mon, 01 Feb 2016 06:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263531#M43654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T06:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263532#M43655</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;What's &amp;nbsp;your filter expression? Can you give me an example to explain your problem?</description>
      <pubDate>Mon, 01 Feb 2016 08:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263532#M43655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T08:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263533#M43656</link>
      <description>Im filtering it with a value in an element in the XML shong. 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Example: I am sending an XML that has a loop of&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;10&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;operators, and from my filter expression, I got&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;7&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;available operators. How can I make the mapping/looping/filtering only pass to the next component only&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;available operator?&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 02 Feb 2016 02:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263533#M43656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-02T02:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXMLMap - get only first expression filtered row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263534#M43657</link>
      <description>As I said, add a sequence ID to the 7 operators on another tMap and filter the first line.</description>
      <pubDate>Tue, 02 Feb 2016 03:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXMLMap-get-only-first-expression-filtered-row/m-p/2263534#M43657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-02T03:28:12Z</dc:date>
    </item>
  </channel>
</rss>

