<?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 and empty node in the xml file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346393#M113804</link>
    <description>&lt;P&gt;Can you provide screenshots of your jobs and when it is losing all the other values?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2017 20:38:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-24T20:38:41Z</dc:date>
    <item>
      <title>tExtractXMLField and empty node in the xml file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346392#M113803</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a talend job that has been developed in the past and that is working correctlfy so i can't change all in this job. i have to add some fields from &amp;nbsp;an xml file and some node where i need to take thoses fields can be empty...&amp;nbsp;&lt;BR /&gt;exemple i can have on my xml file this :&lt;BR /&gt;&amp;lt;CarBookings/&amp;gt;&lt;BR /&gt;&amp;lt;MiscellaneousBookings/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;or they can be filled :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;CarBookings&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;component_id&amp;gt;xxxxx&amp;lt;/component_id&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;/CarBookings&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;to extract node of the files, the job is using tExtractXMLFields for each node needed ...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So i add one for each of the node i need but as soon as 1 node is empty, i'm loosing all the previous data extracted from the previous&amp;nbsp;tExtractXMLFields.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;how i can do differently ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Many thanks for your help !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 11:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346392#M113803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T11:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractXMLField and empty node in the xml file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346393#M113804</link>
      <description>&lt;P&gt;Can you provide screenshots of your jobs and when it is losing all the other values?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 20:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346393#M113804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T20:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractXMLField and empty node in the xml file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346394#M113805</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Thanks for your answer.&amp;nbsp;&lt;BR /&gt;Here a screenshot of this part of the job&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have just add on this the tExtractXMLField who is not aligned with the others and i'm loosign all my datas because the tags activity_booking on this xml file is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The xPath on the new tExtractXMLField is : "&lt;STRONG&gt;ActivityBookings/ActivityBooking/"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and i add a column in the schema Component_id2 :&amp;nbsp;"ComponentInfo/ComponentID"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrxG"&gt;Capture.PNG&lt;/A&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346394#M113805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T09:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractXMLField and empty node in the xml file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346395#M113806</link>
      <description>&lt;P&gt;I am facing similar issue in my project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am calling webservices and successfully getting the output. however the format in browser is different.&lt;/P&gt;
&lt;P&gt;So tried to extract it using tExtractXmlField. I am getting value for StateProvince "AA" but StreetName is null.&lt;/P&gt;
&lt;P&gt;I tried using different loopxpath in second loop just to get StreetName value.&lt;/P&gt;
&lt;P&gt;Is there any way to get output in same format as it is displaying in browser.&lt;/P&gt;
&lt;P&gt;Please let me know.&lt;/P&gt;
&lt;P&gt;Also I tried to create a new discussion for this but not sure how.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsQI"&gt;tExtractXmlField_configuration.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsOw"&gt;output_of_tExtractXmlField.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsGB"&gt;output_from_webservices_in_talend.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrFI"&gt;webservice_output_in_browser.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsQS"&gt;s1.png&lt;/A&gt;</description>
      <pubDate>Fri, 08 Sep 2017 10:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractXMLField-and-empty-node-in-the-xml-file/m-p/2346395#M113806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-08T10:51:14Z</dc:date>
    </item>
  </channel>
</rss>

