<?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: Parsing XML , where attribute values are columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parsing-XML-where-attribute-values-are-columns/m-p/2234074#M23562</link>
    <description>&lt;P&gt;We used Quotes "" , while Pivoting the content , to avoid issue with delimiters&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2020 04:48:29 GMT</pubDate>
    <dc:creator>karandama2006</dc:creator>
    <dc:date>2020-01-24T04:48:29Z</dc:date>
    <item>
      <title>Parsing XML , where attribute values are columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-XML-where-attribute-values-are-columns/m-p/2234072#M23560</link>
      <description>&lt;P&gt;I'm trying to parse below xml to a row , the only problem is all values mentioned in Attribute are actually column names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can see , "C" is a name of column and its value is "value1" and "value2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the values as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="235"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="64"&gt;ItemID&lt;/TD&gt;&lt;TD width="64"&gt;c&lt;/TD&gt;&lt;TD width="107"&gt;LoginTimestamp&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;value1&lt;/TD&gt;&lt;TD&gt;11/19/2019 8:01&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;value1&lt;/TD&gt;&lt;TD&gt;11/19/2019 8:30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be achieved without using Pivot ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;Users&amp;gt;
&amp;lt;Items&amp;gt;
&amp;lt;UserProperty&amp;gt;
&amp;lt;Attribute&amp;gt;ItemID&amp;lt;/Attribute&amp;gt;
&amp;lt;Value/&amp;gt;
&amp;lt;/UserProperty&amp;gt;
&amp;lt;UserProperty&amp;gt;
&amp;lt;Attribute&amp;gt;c&amp;lt;/Attribute&amp;gt;
&amp;lt;Value&amp;gt;value1&amp;lt;/Value&amp;gt;
&amp;lt;/UserProperty&amp;gt;
&amp;lt;UserProperty&amp;gt;
&amp;lt;Attribute&amp;gt;LoginTimestamp&amp;lt;/Attribute&amp;gt;
&amp;lt;Value&amp;gt;11/19/2019 8:01:59 AM&amp;lt;/Value&amp;gt;
&amp;lt;/UserProperty&amp;gt;
&amp;lt;/Items&amp;gt;

&amp;lt;Items&amp;gt;
&amp;lt;UserProperty&amp;gt;
&amp;lt;Attribute&amp;gt;ItemID&amp;lt;/Attribute&amp;gt;
&amp;lt;Value/&amp;gt;
&amp;lt;/UserProperty&amp;gt;
&amp;lt;UserProperty&amp;gt;
&amp;lt;Attribute&amp;gt;c&amp;lt;/Attribute&amp;gt;
&amp;lt;Value&amp;gt;value2&amp;lt;/Value&amp;gt;
&amp;lt;/UserProperty&amp;gt;
&amp;lt;Attribute&amp;gt;LoginTimestamp&amp;lt;/Attribute&amp;gt;
&amp;lt;Value&amp;gt;11/19/2019 8:30:12 AM&amp;lt;/Value&amp;gt;
&amp;lt;/UserProperty&amp;gt;

&amp;lt;/Users&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-XML-where-attribute-values-are-columns/m-p/2234072#M23560</guid>
      <dc:creator>karandama2006</dc:creator>
      <dc:date>2024-11-16T03:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing XML , where attribute values are columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-XML-where-attribute-values-are-columns/m-p/2234073#M23561</link>
      <description>&lt;P&gt;Problem with&amp;nbsp;&lt;STRONG&gt;tPivotToColumnsDelimited&lt;/STRONG&gt;is with the delimitter , because the XML data has&amp;nbsp; , | ; and other commonly used delimitter&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 16:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-XML-where-attribute-values-are-columns/m-p/2234073#M23561</guid>
      <dc:creator>karandama2006</dc:creator>
      <dc:date>2019-12-30T16:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing XML , where attribute values are columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-XML-where-attribute-values-are-columns/m-p/2234074#M23562</link>
      <description>&lt;P&gt;We used Quotes "" , while Pivoting the content , to avoid issue with delimiters&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 04:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-XML-where-attribute-values-are-columns/m-p/2234074#M23562</guid>
      <dc:creator>karandama2006</dc:creator>
      <dc:date>2020-01-24T04:48:29Z</dc:date>
    </item>
  </channel>
</rss>

