<?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: XML metadata with same element in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343839#M111555</link>
    <description>&lt;P&gt;just combination of LEFT and INDEX - for extract substrings&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 22:59:26 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2018-02-07T22:59:26Z</dc:date>
    <item>
      <title>XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343832#M111548</link>
      <description>&lt;P&gt;Hello Community,&lt;BR /&gt;I have an XML file just like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;fields&amp;gt;&lt;BR /&gt;&amp;lt;field name="primary" type="B" id="123"&amp;gt;true&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field name="street" attr="B" id="123"&amp;gt;5th Street&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field name="city" attr="B" id="123"&amp;gt;New York&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field name="&lt;SPAN&gt;primary&lt;/SPAN&gt;" attr="S" &lt;SPAN&gt;id&lt;/SPAN&gt;="543"&amp;gt;false&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field name="&lt;SPAN&gt;street&lt;/SPAN&gt;" attr="S" &lt;SPAN&gt;id&lt;/SPAN&gt;="543"&amp;gt;8th Street&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field name="&lt;SPAN&gt;city&lt;/SPAN&gt;" attr="S" &lt;SPAN&gt;id&lt;/SPAN&gt;="543"&amp;gt;Kansas City&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;/fields&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to map it in Talend and get a CSV or XML like the following b&lt;SPAN&gt;ut with the component "tFileInputXML" I can only get the first row.&lt;BR /&gt;Is it possible to get all rows?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;CSV&lt;BR /&gt;id;primary;street;city;type&lt;BR /&gt;123;true;5th Street;New York;B&lt;BR /&gt;543;false;8th Street;Kansas City;S&lt;BR /&gt;&lt;BR /&gt;XML&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;lt;Addresses&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;Address id="123" type="B"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;primary&amp;gt;true&amp;lt;/primary&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;street&amp;gt;5th Street&amp;lt;/street&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;city&amp;gt;New York&amp;lt;/city&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/Address&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;Address id="543" type="S"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;primary&amp;gt;false&amp;lt;/primary&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;street&amp;gt;8th Street&amp;lt;/street&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;city&amp;gt;Kansas City&amp;lt;/city&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/Address&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/Addresses&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343832#M111548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-06T10:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343833#M111549</link>
      <description>&lt;P&gt;little tricky, but this possible&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) I guess "attr" and "type" it the same, just mistyping?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;so, proper XML, look like:&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;fields&amp;gt;
    &amp;lt;field name="primary" type="B" id="123"&amp;gt;true&amp;lt;/field&amp;gt;
    &amp;lt;field name="street" type="B" id="123"&amp;gt;5th Street&amp;lt;/field&amp;gt;
    &amp;lt;field name="city" type="B" id="123"&amp;gt;New York&amp;lt;/field&amp;gt;
    &amp;lt;field name="primary" type="S" id="543"&amp;gt;false&amp;lt;/field&amp;gt;
    &amp;lt;field name="street" type="S" id="543"&amp;gt;8th Street&amp;lt;/field&amp;gt;
    &amp;lt;field name="city" type="S" id="543"&amp;gt;Kansas City&amp;lt;/field&amp;gt;
&amp;lt;/fields&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;then combination of:&lt;/P&gt; 
&lt;P&gt;- proper XQuery&lt;BR /&gt;- tAggregate&amp;nbsp;&lt;BR /&gt;- split columns&lt;BR /&gt;&lt;BR /&gt;give expected result&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-07 at 14.45.27.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LstW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154442i654F55D81069ADF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LstW.png" alt="0683p000009LstW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-07 at 14.45.44.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsOn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141008i8FAF8EAB8D97A095/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsOn.png" alt="0683p000009LsOn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-07 at 14.46.26.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsnh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140490i384C82FFB23C4E40/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsnh.png" alt="0683p000009Lsnh.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-07 at 14.46.41.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LspQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128866iDB9995B59F9ABF2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LspQ.png" alt="0683p000009LspQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;\&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-07 at 14.45.13.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsYc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152856iB635C6AC368296F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsYc.png" alt="0683p000009LsYc.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 01:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343833#M111549</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-07T01:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343834#M111550</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&lt;BR /&gt;Yesterday I created another solution that look like this:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Flusso1.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsFG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136593i76618A1425F767B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsFG.png" alt="0683p000009LsFG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Flusso2.PNG" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsQx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144393iBA745DBD53D60B77/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsQx.png" alt="0683p000009LsQx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Flusso3.PNG" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsN3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149501iAE09AB7819D5E17A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsN3.png" alt="0683p000009LsN3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Flusso4.PNG" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsVc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142317i5ECE2B46A7DC7051/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsVc.png" alt="0683p000009LsVc.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Flusso5.PNG" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsVT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146113iD32472A99B6D1FAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsVT.png" alt="0683p000009LsVT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Flusso6.PNG" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsPO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141009iAF490AB9928EF3E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsPO.png" alt="0683p000009LsPO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The ConvertType is for cast the Type from Char to String&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 09:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343834#M111550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T09:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343835#M111551</link>
      <description>&lt;P&gt;yes, tPivot is also was variant, I&amp;nbsp;just choose native as example (one of the reasons - no additional files)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;any problem has many solutions &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 09:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343835#M111551</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-07T09:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343836#M111552</link>
      <description>&lt;P&gt;Yes, sure!&lt;BR /&gt;In my specific case an additional file is better.&lt;BR /&gt;Thanks a lot. Can I set 2 answer as solution?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 09:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343836#M111552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T09:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343837#M111553</link>
      <description>&lt;P&gt;not sure, You can try&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 09:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343837#M111553</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-07T09:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343838#M111554</link>
      <description>&lt;P&gt;Hello vapukov,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide me what the exact conditions have you passed in Expression Editor for the variables of&amp;nbsp;v_primary,v_street,v_city ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks very much !!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343838#M111554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T13:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with same element</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343839#M111555</link>
      <description>&lt;P&gt;just combination of LEFT and INDEX - for extract substrings&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 22:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-with-same-element/m-p/2343839#M111555</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-07T22:59:26Z</dc:date>
    </item>
  </channel>
</rss>

