<?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 Xpath in tExtractJsonFields giving incorrect output in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Xpath-in-tExtractJsonFields-giving-incorrect-output/m-p/2324694#M94367</link>
    <description>&lt;P&gt;Hello. I used Xpath for retrieving JsonFields as shown on the forum. However, the output is in the form of name-value pair which is not like the one shown on Talend Forum.&lt;BR /&gt;The output is as follows:-&lt;BR /&gt;.-------------+-----------+-----------------+------------------.&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;|=------------+-----------+-----------------+-----------------=|&lt;BR /&gt;|name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |fname &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|lname &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;|=------------+-----------+-----------------+-----------------=|&lt;BR /&gt;|{"name":"HR"}|{"id":"11"}|{"fname":"Ajay"} |{"lname":"Murthy"}|&lt;BR /&gt;|{"name":"HR"}|{"id":"11"}|{"fname":"Ameya"}|{"lname":"Pandey"}|&lt;BR /&gt;|{"name":"HR"}|{"id":"11"}|{"fname":"Amit"} |{"lname":"Joshi"} |&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want the output rows to contain a single value and not name-value pair as shown above. How can I achieve it (without using JsonPath) by using Xpath?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2015 11:57:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-29T11:57:53Z</dc:date>
    <item>
      <title>Xpath in tExtractJsonFields giving incorrect output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Xpath-in-tExtractJsonFields-giving-incorrect-output/m-p/2324694#M94367</link>
      <description>&lt;P&gt;Hello. I used Xpath for retrieving JsonFields as shown on the forum. However, the output is in the form of name-value pair which is not like the one shown on Talend Forum.&lt;BR /&gt;The output is as follows:-&lt;BR /&gt;.-------------+-----------+-----------------+------------------.&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;|=------------+-----------+-----------------+-----------------=|&lt;BR /&gt;|name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |fname &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|lname &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;|=------------+-----------+-----------------+-----------------=|&lt;BR /&gt;|{"name":"HR"}|{"id":"11"}|{"fname":"Ajay"} |{"lname":"Murthy"}|&lt;BR /&gt;|{"name":"HR"}|{"id":"11"}|{"fname":"Ameya"}|{"lname":"Pandey"}|&lt;BR /&gt;|{"name":"HR"}|{"id":"11"}|{"fname":"Amit"} |{"lname":"Joshi"} |&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want the output rows to contain a single value and not name-value pair as shown above. How can I achieve it (without using JsonPath) by using Xpath?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 11:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Xpath-in-tExtractJsonFields-giving-incorrect-output/m-p/2324694#M94367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-29T11:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Xpath in tExtractJsonFields giving incorrect output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Xpath-in-tExtractJsonFields-giving-incorrect-output/m-p/2324695#M94368</link>
      <description>Hello! I got the desired output by deselecting the "Get Nodes" tab in tExtractJSONFields component. Since I am newbie to Talend, can anyone tell me the significance of "Get Nodes" tab?</description>
      <pubDate>Tue, 29 Dec 2015 12:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Xpath-in-tExtractJsonFields-giving-incorrect-output/m-p/2324695#M94368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-29T12:31:09Z</dc:date>
    </item>
  </channel>
</rss>

