<?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 tXMLMap - &amp;quot;Create empty element&amp;quot; in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353026#M119296</link>
    <description>Hi, 
&lt;BR /&gt;I have&amp;nbsp;Talend Open Studio for ESB 5.4.1 and i can't achieve the creation of an XML respecting my schema (without empty nodes). 
&lt;BR /&gt;Here's my test job: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/job.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBEg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141128i520D7E9F5C49C01A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBEg.png" alt="0683p000009MBEg.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;In tXMLMap, i set the out column type to 
&lt;B&gt;Document &lt;/B&gt;and i "Import From File" the schema "&amp;nbsp; 
&lt;I&gt;WorkflowFatturaPAService.xsd&lt;/I&gt; and i choose 
&lt;I&gt;WorkflowFatturaPAResponse&lt;/I&gt;: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/Schema2.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBFi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144245i52D146D005D65300/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBFi.png" alt="0683p000009MBFi.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Note that dotted elements should be optional. 
&lt;BR /&gt;For example the element 
&lt;I&gt;NotificaPA &lt;/I&gt;has the attribute " 
&lt;B&gt;MinOccurs=0&lt;/B&gt;": 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/MinOccurs.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBFP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135089i715C70D9D533229B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBFP.png" alt="0683p000009MBFP.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;In tXMLMap, to test this issue, i only map one tag, i set "Create empty element" to&amp;nbsp; 
&lt;B&gt;false&amp;nbsp;&lt;/B&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/XmlMap.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBFn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158234iF26EE931356ED3D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBFn.png" alt="0683p000009MBFn.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Here's my output: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/XmlOut.png_20141014-1134.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB4Z.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129614iE716326D5D3D8CBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB4Z.png" alt="0683p000009MB4Z.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;It doesn't seem to be the correct behaviour, am i missing something? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Marco</description>
    <pubDate>Tue, 14 Oct 2014 10:52:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-14T10:52:21Z</dc:date>
    <item>
      <title>tXMLMap - "Create empty element"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353026#M119296</link>
      <description>Hi, 
&lt;BR /&gt;I have&amp;nbsp;Talend Open Studio for ESB 5.4.1 and i can't achieve the creation of an XML respecting my schema (without empty nodes). 
&lt;BR /&gt;Here's my test job: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/job.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBEg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141128i520D7E9F5C49C01A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBEg.png" alt="0683p000009MBEg.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;In tXMLMap, i set the out column type to 
&lt;B&gt;Document &lt;/B&gt;and i "Import From File" the schema "&amp;nbsp; 
&lt;I&gt;WorkflowFatturaPAService.xsd&lt;/I&gt; and i choose 
&lt;I&gt;WorkflowFatturaPAResponse&lt;/I&gt;: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/Schema2.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBFi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144245i52D146D005D65300/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBFi.png" alt="0683p000009MBFi.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Note that dotted elements should be optional. 
&lt;BR /&gt;For example the element 
&lt;I&gt;NotificaPA &lt;/I&gt;has the attribute " 
&lt;B&gt;MinOccurs=0&lt;/B&gt;": 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/MinOccurs.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBFP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135089i715C70D9D533229B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBFP.png" alt="0683p000009MBFP.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;In tXMLMap, to test this issue, i only map one tag, i set "Create empty element" to&amp;nbsp; 
&lt;B&gt;false&amp;nbsp;&lt;/B&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/XmlMap.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBFn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158234iF26EE931356ED3D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBFn.png" alt="0683p000009MBFn.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Here's my output: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/212337/XmlOut.png_20141014-1134.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB4Z.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129614iE716326D5D3D8CBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB4Z.png" alt="0683p000009MB4Z.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;It doesn't seem to be the correct behaviour, am i missing something? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Marco</description>
      <pubDate>Tue, 14 Oct 2014 10:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353026#M119296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-14T10:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - "Create empty element"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353027#M119297</link>
      <description>Hi 
&lt;BR /&gt;i see each element has a namespace, if you remove the namespace from your XML tree, the empty element will not be created if the&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;"Create empty element" option is set to&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;false.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 24 Oct 2014 02:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353027#M119297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-24T02:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - "Create empty element"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353028#M119298</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;I think that removing the namespaces will cause validation to fail
&lt;BR /&gt;Marco</description>
      <pubDate>Wed, 29 Oct 2014 09:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353028#M119298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-29T09:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - "Create empty element"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353029#M119299</link>
      <description>Hi Marco&amp;nbsp; 
&lt;BR /&gt;I am not sure if it was a bug or not, I have created a jira 
&lt;A href="https://jira.talendforge.org/browse/TDI-31002" target="_blank" rel="nofollow noopener noreferrer"&gt;issue&lt;/A&gt;&amp;nbsp;on our bugtracker, let's check with our R&amp;amp;D team. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 30 Oct 2014 03:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353029#M119299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-30T03:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - "Create empty element"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353030#M119300</link>
      <description>&lt;P&gt;IS THIS ISSUE STILL Not solved?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am facing this issue also in Studio 7.2.1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Output with "Create Empty Element" Set to False&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;lt;ns&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;mniChannel&amp;gt;&lt;BR /&gt;&amp;lt;ns:WarehouseId/&amp;gt;&lt;BR /&gt;&amp;lt;/ns&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;mniChannel&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-quot-Create-empty-element-quot/m-p/2353030#M119300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-24T14:19:45Z</dc:date>
    </item>
  </channel>
</rss>

