<?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: [resolved] Problem tXmlMap and null value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336176#M104655</link>
    <description>Hi,&lt;BR /&gt;I have the same problem with tXMLMap (null values changed to "").&lt;BR /&gt;Does anyone has a solution for that?&lt;BR /&gt;In my case, I have a flow issued from an Excel file transformed to XML by tXMLMap then push to tRESTClient which call a service with JSON content:&lt;BR /&gt;tFileInputExcel --&amp;gt; tXMLMap --&amp;gt; tRESTClient&lt;BR /&gt;Received messages by the service contain for example "lastContactAdded":"" but "lastContactAdded":null is expected.&lt;BR /&gt;Regards,&lt;BR /&gt;Fred</description>
    <pubDate>Fri, 19 Jun 2015 17:17:12 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2015-06-19T17:17:12Z</dc:date>
    <item>
      <title>[resolved] Problem tXmlMap and null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336172#M104651</link>
      <description>I have this structure 
&lt;BR /&gt;Database-tXmlMap-tRestClient to convert xml to json....I have a problem because if i have null value, tRestClient convert null value with "" for example 
&lt;BR /&gt;"chiave":"" this is not correct i will "chiave":"null" 
&lt;BR /&gt;I have try another structure 
&lt;BR /&gt;tDatabase-tWriteJsonField but i have multiple errore for example impossible to convert map(string,sting) to map(string,date) and is impossible to execute this operation 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEhV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153765iCC256DD84E17DFB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEhV.png" alt="0683p000009MEhV.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;If i have 
&lt;BR /&gt;database-txmlmap-trestclient is possible to insert null value?? 
&lt;BR /&gt;Is possibile to use&amp;nbsp; 
&lt;BR /&gt;Database-tWriteJsonField and resolve the problem of field date?</description>
      <pubDate>Sat, 30 Aug 2014 10:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336172#M104651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-30T10:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem tXmlMap and null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336173#M104652</link>
      <description>What you want is actually not correct because "null" mean nothing else than a String with the content "null". In JSON or XML you have only the chance to leaf the attribute out completely or write an empty string.</description>
      <pubDate>Sun, 31 Aug 2014 13:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336173#M104652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-31T13:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem tXmlMap and null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336174#M104653</link>
      <description>This is a problem, the component for generate Json are wrong..because txml generate null field with "" but a web service use the controll&amp;nbsp;&lt;BR /&gt;if( field == null || ...ecc---all web service&lt;BR /&gt;tWriteJsonField generate all field with string value but all web service will deduce the type of a field in base of the syntax of the field....i use a tjava with json library but is not a good solution</description>
      <pubDate>Mon, 01 Sep 2014 14:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336174#M104653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-01T14:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem tXmlMap and null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336175#M104654</link>
      <description>Serve a new component</description>
      <pubDate>Mon, 01 Sep 2014 14:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336175#M104654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-01T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem tXmlMap and null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336176#M104655</link>
      <description>Hi,&lt;BR /&gt;I have the same problem with tXMLMap (null values changed to "").&lt;BR /&gt;Does anyone has a solution for that?&lt;BR /&gt;In my case, I have a flow issued from an Excel file transformed to XML by tXMLMap then push to tRESTClient which call a service with JSON content:&lt;BR /&gt;tFileInputExcel --&amp;gt; tXMLMap --&amp;gt; tRESTClient&lt;BR /&gt;Received messages by the service contain for example "lastContactAdded":"" but "lastContactAdded":null is expected.&lt;BR /&gt;Regards,&lt;BR /&gt;Fred</description>
      <pubDate>Fri, 19 Jun 2015 17:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336176#M104655</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2015-06-19T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Problem tXmlMap and null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336177#M104656</link>
      <description>Found the solution.
&lt;BR /&gt;If you got the same problem, in tXMLMap, go to Settings in output part then select "false" for the option "Create empty element".
&lt;BR /&gt;As empty elements are not sended any more with this option activated, the service now receive null values for the corresponding fields.
&lt;BR /&gt;That's what I want.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Fred</description>
      <pubDate>Fri, 19 Jun 2015 17:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Problem-tXmlMap-and-null-value/m-p/2336177#M104656</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2015-06-19T17:39:43Z</dc:date>
    </item>
  </channel>
</rss>

