<?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: tHMap move namespace from elements to root structure in XML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2453453#M140656</link>
    <description>&lt;P&gt;Perhaps I was not entirely clear. This XML structure is generated by Talend using tHMap. It's just the namespace being put at each and every element because of an attribute. Instead of repeating, I want it to be put in the root.&lt;/P&gt;
&lt;P&gt;Basically this job generates an XML structure with product data from an sql output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 06:27:58 GMT</pubDate>
    <dc:creator>rlooijmans</dc:creator>
    <dc:date>2024-05-17T06:27:58Z</dc:date>
    <item>
      <title>tHMap move namespace from elements to root structure in XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2453304#M140652</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;How can I move a namespace for an element to the root structure of the XML? Now the xmlns:dt namespace is shown on each and every dt:dt element.&lt;/P&gt;
&lt;P&gt;This is what I have:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rlooijmans_0-1715875463360.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166240iA752C5B755589BCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rlooijmans_0-1715875463360.png" alt="rlooijmans_0-1715875463360.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is what I want:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rlooijmans_1-1715875527299.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166241i6AC11B1F6D6E7C17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rlooijmans_1-1715875527299.png" alt="rlooijmans_1-1715875527299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Namespace setup:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rlooijmans_2-1715875578549.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166242iEE1A2CF76D8ED248/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rlooijmans_2-1715875578549.png" alt="rlooijmans_2-1715875578549.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;XML properties&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rlooijmans_4-1715875633992.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166244iDB283A8A8D555E45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rlooijmans_4-1715875633992.png" alt="rlooijmans_4-1715875633992.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Attribute name:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rlooijmans_5-1715875721610.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166245i8F81A1CD7FD85023/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rlooijmans_5-1715875721610.png" alt="rlooijmans_5-1715875721610.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I couldn't find anything specific in the docs for this. I am sure there must be a straightforward way, but I can't wrap my head around this.&lt;/P&gt;
&lt;P&gt;Hopefully someone has an insight on how to achieve this, or has managed to get it working before. Every input is greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Reno&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, 16 May 2024 16:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2453304#M140652</guid>
      <dc:creator>rlooijmans</dc:creator>
      <dc:date>2024-05-16T16:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap move namespace from elements to root structure in XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2453330#M140653</link>
      <description>&lt;P&gt;I am just curious to know few more details. I never seen Qlik using the XML file&lt;BR /&gt;can you explain a little bit more about the project or the process that you are doing and where does the Qlik sense fall in?&lt;BR /&gt;thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2453330#M140653</guid>
      <dc:creator>Venky2</dc:creator>
      <dc:date>2024-05-16T17:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap move namespace from elements to root structure in XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2453453#M140656</link>
      <description>&lt;P&gt;Perhaps I was not entirely clear. This XML structure is generated by Talend using tHMap. It's just the namespace being put at each and every element because of an attribute. Instead of repeating, I want it to be put in the root.&lt;/P&gt;
&lt;P&gt;Basically this job generates an XML structure with product data from an sql output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 06:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2453453#M140656</guid>
      <dc:creator>rlooijmans</dc:creator>
      <dc:date>2024-05-17T06:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap move namespace from elements to root structure in XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2454440#M140668</link>
      <description>&lt;P&gt;Nobody has any idea?&amp;nbsp;I kinda assumed that something so basic should be easily possible.. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 07:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2454440#M140668</guid>
      <dc:creator>rlooijmans</dc:creator>
      <dc:date>2024-05-21T07:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap move namespace from elements to root structure in XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2455762#M140679</link>
      <description>&lt;P&gt;The problem comes from the type Document defined in the schema of the connection row6 (see screenshot schema_with_document). This forces the tHMap component to produce a Document object (which is a dom4j implementation of an XML Document Object Model). The result you get is simply the result of the print of this document.&lt;BR /&gt;If you change the type from Document to Object, then the tHMap component will produce an XML string with the namespaces defined at the root level as expected (see screenshot schema_with_Object).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 15:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-move-namespace-from-elements-to-root-structure-in-XML/m-p/2455762#M140679</guid>
      <dc:creator>emariani</dc:creator>
      <dc:date>2024-05-23T15:31:34Z</dc:date>
    </item>
  </channel>
</rss>

