<?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 query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XPath-query/m-p/2236922#M25508</link>
    <description>Hi, 
&lt;BR /&gt; I have to read an xml file which is in below format. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;I want to read the file using the tFileInputXML step. I want to extract all the contents coming under the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tags and print it in next tLogRow step. 
&lt;BR /&gt;In the above file the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tag is present 5 times. but the number of times, the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tag is present is not constant.it will vary. so i don't know what to give in the XPath query to extract all the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tags irrespective how many times its present. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;please help. 
&lt;BR /&gt;thanks, 
&lt;BR /&gt;jayanth</description>
    <pubDate>Sat, 16 Nov 2024 14:18:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:18:41Z</dc:date>
    <item>
      <title>XPath query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XPath-query/m-p/2236922#M25508</link>
      <description>Hi, 
&lt;BR /&gt; I have to read an xml file which is in below format. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;I want to read the file using the tFileInputXML step. I want to extract all the contents coming under the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tags and print it in next tLogRow step. 
&lt;BR /&gt;In the above file the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tag is present 5 times. but the number of times, the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tag is present is not constant.it will vary. so i don't know what to give in the XPath query to extract all the &amp;lt;student_details&amp;gt;&amp;lt;/student_details&amp;gt; tags irrespective how many times its present. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;please help. 
&lt;BR /&gt;thanks, 
&lt;BR /&gt;jayanth</description>
      <pubDate>Sat, 16 Nov 2024 14:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XPath-query/m-p/2236922#M25508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: XPath query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XPath-query/m-p/2236923#M25509</link>
      <description>is it a java project?  If so it doesnt matter it will automatically take in every entry of student details in the file, like such:&lt;BR /&gt;&lt;BR /&gt;"/student_details"&lt;BR /&gt;then the mapping will look like:&lt;BR /&gt;yourcolumnName                                   student_name&lt;BR /&gt;yourothercolumnName                          student_class&lt;BR /&gt;etc&lt;BR /&gt;etc&lt;BR /&gt;its all about where you place the LoopXpath Query, thats the field that tells talend to loop on the given xml element</description>
      <pubDate>Fri, 04 Jul 2008 15:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XPath-query/m-p/2236923#M25509</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-07-04T15:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: XPath query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XPath-query/m-p/2236924#M25510</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;is it a java project? If so it doesnt matter it will automatically take in every entry of student details in the file, like such:&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Of course, it also works perfectly with a Perl project &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCbe.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139355i5FA8504D691F334B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCbe.png" alt="0683p000009MCbe.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCbj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155771i10B9AA5809926F3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCbj.png" alt="0683p000009MCbj.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCbB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149299i2DCF7F734392A193/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCbB.png" alt="0683p000009MCbB.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCY4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148297iF9959F9A3FCBAD8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCY4.png" alt="0683p000009MCY4.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 04 Jul 2008 15:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XPath-query/m-p/2236924#M25510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-04T15:22:53Z</dc:date>
    </item>
  </channel>
</rss>

