<?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: tExtractXMLField Xpath Query value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-Xpath-Query-value/m-p/2346653#M114032</link>
    <description>resolved it myself. I used //root as the Loop Xpath Query and access_token as the field mapping which took care of it.&amp;nbsp;</description>
    <pubDate>Sun, 06 Mar 2016 15:53:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-06T15:53:37Z</dc:date>
    <item>
      <title>tExtractXMLField Xpath Query value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-Xpath-Query-value/m-p/2346652#M114031</link>
      <description>&lt;P&gt;Below is the XML I am receiving from a webservice.&lt;BR /&gt;&amp;lt;root&amp;gt;&lt;BR /&gt;&amp;lt;success&amp;gt;true&amp;lt;/success&amp;gt;&lt;BR /&gt;&amp;lt;message&amp;gt;&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;access_token&amp;gt;1234567&amp;lt;/access_token&amp;gt;&lt;BR /&gt;&amp;lt;profile/&amp;gt;&amp;lt;/root&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I want to extract access_token. &amp;nbsp;I tried few different options but I am not getting the right result. Here is how it looks currently:&lt;BR /&gt;&lt;BR /&gt;Loop Xpath Query : / &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;Xpath Query: /root/access_token&lt;BR /&gt;XML field: body &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Given the above XML structure, what is the right Xpath Query should I use in order to get the value of access_id?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;&lt;BR /&gt;Arvind.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 15:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-Xpath-Query-value/m-p/2346652#M114031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-06T15:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractXMLField Xpath Query value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-Xpath-Query-value/m-p/2346653#M114032</link>
      <description>resolved it myself. I used //root as the Loop Xpath Query and access_token as the field mapping which took care of it.&amp;nbsp;</description>
      <pubDate>Sun, 06 Mar 2016 15:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-Xpath-Query-value/m-p/2346653#M114032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-06T15:53:37Z</dc:date>
    </item>
  </channel>
</rss>

