<?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 schema problems in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300214#M72457</link>
    <description>The structure is exactly llike this. It looks like two lists one after another. 
&lt;BR /&gt;I Truly hope that this is not the only solution.</description>
    <pubDate>Fri, 10 Aug 2018 01:40:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-10T01:40:03Z</dc:date>
    <item>
      <title>XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300212#M72455</link>
      <description>&lt;P&gt;Somehow I always get the chills when I need to deal with XML in Talend.&lt;BR /&gt;&lt;BR /&gt;I need to produce such a schema, and tried various ways, to get it, using different mechanism, ... but nothing works.&lt;BR /&gt;The other side of the integrations wants this format of the schema&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;root&amp;gt;
	&amp;lt;a&amp;gt;
		&amp;lt;a1&amp;gt;a1&amp;lt;/a1&amp;gt;
		&amp;lt;a2&amp;gt;a2&amp;lt;/a2&amp;gt;
	&amp;lt;/a&amp;gt;
	&amp;lt;a&amp;gt;
		&amp;lt;a1&amp;gt;a1&amp;lt;/a1&amp;gt;
		&amp;lt;a2&amp;gt;a2&amp;lt;/a2&amp;gt;
	&amp;lt;/a&amp;gt;
	&amp;lt;b&amp;gt;
		&amp;lt;b1&amp;gt;b1&amp;lt;/b1&amp;gt;
		&amp;lt;b2&amp;gt;
			&amp;lt;b21&amp;gt;b21&amp;lt;/b21&amp;gt;
			&amp;lt;b22&amp;gt;b22&amp;lt;/b22&amp;gt;
		&amp;lt;/b2&amp;gt;
	&amp;lt;/b&amp;gt;
	&amp;lt;b&amp;gt;
		&amp;lt;b1&amp;gt;b1&amp;lt;/b1&amp;gt;
		&amp;lt;b2&amp;gt;
			&amp;lt;b21&amp;gt;b21&amp;lt;/b21&amp;gt;
			&amp;lt;b22&amp;gt;b22&amp;lt;/b22&amp;gt;
		&amp;lt;/b2&amp;gt;
	&amp;lt;/b&amp;gt;
&amp;lt;root&amp;gt;&lt;/PRE&gt;
&lt;P&gt;both a and b are childnodes of the root.&lt;BR /&gt;I'm banging my head around this, but simply can't figure it out.&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;</description>
      <pubDate>Thu, 09 Aug 2018 16:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300212#M72455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T16:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300213#M72456</link>
      <description>Please provide a real example and mask some data if its confidential... however if its a basic structure like this&lt;BR /&gt;you could use a tJavaFlex and just generate the needed xml as a string and write it to a file (dont set headers =0, and delimiter = "" )&lt;BR /&gt;Do it yourself.</description>
      <pubDate>Fri, 10 Aug 2018 01:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300213#M72456</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-10T01:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300214#M72457</link>
      <description>The structure is exactly llike this. It looks like two lists one after another. 
&lt;BR /&gt;I Truly hope that this is not the only solution.</description>
      <pubDate>Fri, 10 Aug 2018 01:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300214#M72457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T01:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300215#M72458</link>
      <description>&lt;P&gt;Dont believe you unless you show&amp;nbsp;me&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt; a real example... this is duplicate stuff exact same &amp;lt;a&amp;gt; ...&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;	&amp;lt;a&amp;gt;
		&amp;lt;a1&amp;gt;a1&amp;lt;/a1&amp;gt;
		&amp;lt;a2&amp;gt;a2&amp;lt;/a2&amp;gt;
	&amp;lt;/a&amp;gt;
	&amp;lt;a&amp;gt;
		&amp;lt;a1&amp;gt;a1&amp;lt;/a1&amp;gt;
		&amp;lt;a2&amp;gt;a2&amp;lt;/a2&amp;gt;
	&amp;lt;/a&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Aug 2018 01:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300215#M72458</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-10T01:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300216#M72459</link>
      <description>&amp;lt;a&amp;gt;&lt;BR /&gt;&amp;lt;a1&amp;gt;examplestring 1&amp;lt;/a1&amp;gt;&lt;BR /&gt;&amp;lt;a2&amp;gt;examplestring 2&amp;lt;/a2&amp;gt;&lt;BR /&gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;a&amp;gt;&lt;BR /&gt;&amp;lt;a1&amp;gt;examplestring 3&amp;lt;/a1&amp;gt;&lt;BR /&gt;&amp;lt;a2&amp;gt;examplestring 4&amp;lt;/a2&amp;gt;&lt;BR /&gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&lt;BR /&gt;better?</description>
      <pubDate>Fri, 10 Aug 2018 01:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300216#M72459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T01:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300217#M72460</link>
      <description>Look, ... this is the schema. I did not copy/paste anthing, but wrote up a quick example. But the schema is like that</description>
      <pubDate>Fri, 10 Aug 2018 01:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300217#M72460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T01:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300218#M72461</link>
      <description>&lt;P&gt;Yes, better, now an example of your source data please.&lt;BR /&gt;Because you need to transform from type A -&amp;gt; XML , we need to understand that to.&lt;/P&gt;
&lt;P&gt;However you could try it with tXMLMap and in the output create a one column of Document type.&lt;BR /&gt;see example: the example is from another post I did... but give it a go, not sure if it works...&lt;/P&gt;
&lt;P&gt;Set your most elementary&amp;nbsp;element as loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise the&amp;nbsp;tJavaFlex needs to do the trick and code a little bit of java... pretty easy.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtRs"&gt;setLoop.jpg&lt;/A&gt;</description>
      <pubDate>Fri, 10 Aug 2018 02:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300218#M72461</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-10T02:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300219#M72462</link>
      <description>In the source data I have two flat files. One for the As and one for the Bs
&lt;BR /&gt;
&lt;BR /&gt;A1;A2
&lt;BR /&gt;
&lt;BR /&gt;B1;B21;B22
&lt;BR /&gt;
&lt;BR /&gt;I tried various things, including the tXMLMap. The biggest Problem is that A, B and B2 are looped, ... meaning there are more of them in the same hierarchy.
&lt;BR /&gt;Everything is properly normalized, .... but the problem is how to get it to be extracted like this.I cant get tehm to be looped like this.
&lt;BR /&gt;I tried also to play with the Document type, but no success.</description>
      <pubDate>Fri, 10 Aug 2018 02:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300219#M72462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T02:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: XML schema problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300220#M72463</link>
      <description>I have two source files. One for the As and one for the Bs and the source files are properly flattened:&lt;BR /&gt;&lt;BR /&gt;My biggest issue is the A and B node, how to get them to populate in the same hierarchy.&lt;BR /&gt;I tried several things, and it did not work.&lt;BR /&gt;&lt;BR /&gt;I would really like to avoid the tJavaFlex, since I would have to take care of all of the ecape characters myself, and similar things. If there are already XML components, than it would be best also to utilize them.</description>
      <pubDate>Fri, 10 Aug 2018 09:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-schema-problems/m-p/2300220#M72463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T09:18:12Z</dc:date>
    </item>
  </channel>
</rss>

