<?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 many tags with the same name in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/XML-metadata-with-many-tags-with-the-same-name/m-p/2272900#M2827</link>
    <description>Thanks. I ended up looping over de "object" tag and used the "@field" for the columns which worked fine. Thank you for taking the time to read. Talend is awesome, it got the job done perfectly.</description>
    <pubDate>Tue, 27 Nov 2012 11:29:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-27T11:29:14Z</dc:date>
    <item>
      <title>XML metadata with many tags with the same name</title>
      <link>https://community.qlik.com/t5/Data-Quality/XML-metadata-with-many-tags-with-the-same-name/m-p/2272898#M2825</link>
      <description>Hi,
&lt;BR /&gt;I was wondering what would be the best way to create metadata of an XML file with this format:
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&lt;BR /&gt;&amp;lt;django-objects version="1.0"&amp;gt;
&lt;BR /&gt; &amp;lt;object pk="8" model="auth.user"&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="username"&amp;gt;jd&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="first_name"&amp;gt;John&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="last_name"&amp;gt;Doe&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="email"&amp;gt;bla@bla.com&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;/object&amp;gt;
&lt;BR /&gt; &amp;lt;object pk="2102684" model="auth.user"&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="username"&amp;gt;kp&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="first_name"&amp;gt;Karl&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="last_name"&amp;gt;Row&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;field type="CharField" name="email"&amp;gt;karl@test.com&amp;lt;/field&amp;gt;
&lt;BR /&gt; &amp;lt;/object&amp;gt;
&lt;BR /&gt; .... etc
&lt;BR /&gt;&amp;lt;/django-objects&amp;gt;
&lt;BR /&gt;The problem here is that the &amp;lt;field&amp;gt; tag repeats multiple times (instead of having a separate &amp;lt;username&amp;gt;, &amp;lt;first_name&amp;gt;, etc tag), which causes the default metadata mapping to only return the first occurance (username).
&lt;BR /&gt;How can I best map this kind of data?
&lt;BR /&gt;Thanks
&lt;BR /&gt;koen</description>
      <pubDate>Sat, 16 Nov 2024 12:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/XML-metadata-with-many-tags-with-the-same-name/m-p/2272898#M2825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with many tags with the same name</title>
      <link>https://community.qlik.com/t5/Data-Quality/XML-metadata-with-many-tags-with-the-same-name/m-p/2272899#M2826</link>
      <description>Hi 
&lt;BR /&gt;I have replied the same question in topic: 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCnNUCA0" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Data-Quality-Preparation-and/Can-i-map-multiple-tag-of-xml-in-schema/td-p/88282&lt;/A&gt;</description>
      <pubDate>Tue, 27 Nov 2012 10:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/XML-metadata-with-many-tags-with-the-same-name/m-p/2272899#M2826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-27T10:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata with many tags with the same name</title>
      <link>https://community.qlik.com/t5/Data-Quality/XML-metadata-with-many-tags-with-the-same-name/m-p/2272900#M2827</link>
      <description>Thanks. I ended up looping over de "object" tag and used the "@field" for the columns which worked fine. Thank you for taking the time to read. Talend is awesome, it got the job done perfectly.</description>
      <pubDate>Tue, 27 Nov 2012 11:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/XML-metadata-with-many-tags-with-the-same-name/m-p/2272900#M2827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-27T11:29:14Z</dc:date>
    </item>
  </channel>
</rss>

