<?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: tXMLMap Expression Help in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232983#M22773</link>
    <description>It looks like you have a non numeric value in your number (maybe a monetary unit?) or the value is an empty string. If it is the non numeric unit, you will need to remove it. If it is an empty string, you need to filter those from being processed. 
&lt;BR /&gt;For example.... 
&lt;BR /&gt; 
&lt;PRE&gt;row1.MONT!=null &amp;amp;&amp;amp;&amp;nbsp;row1.MONT.trim().compareToIgnoreCase("")!=0 ? new BigDecimal(row1.MONT) : null&lt;/PRE&gt;</description>
    <pubDate>Fri, 04 Dec 2015 15:07:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-04T15:07:25Z</dc:date>
    <item>
      <title>tXMLMap Expression Help</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232979#M22769</link>
      <description>Hi,
&lt;BR /&gt;this is my input : Mont = 129483948 ( type of Mont is string)
&lt;BR /&gt;in my out put i need to have this : res =1294839,48 ( type of is BigDecimal )
&lt;BR /&gt;Thank you for your help.</description>
      <pubDate>Fri, 04 Dec 2015 13:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232979#M22769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T13:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap Expression Help</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232980#M22770</link>
      <description>In your output (I will call it the "RES" column) you need the following. I am assuming the input row is "row1" and the input column is "MONT"...
&lt;BR /&gt;
&lt;PRE&gt;row1.MONT!=null ? new BigDecimal(row1.MONT) : null&lt;/PRE&gt;
&lt;BR /&gt;This checks to see that the MONT value is not null and then converts it to a BigDecimal if it is not null. If it is null, it just sets the output column to null.</description>
      <pubDate>Fri, 04 Dec 2015 14:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232980#M22770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T14:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap Expression Help</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232981#M22771</link>
      <description>Thank you for your response, but me i retrive the input from a xsd scheme like this : &lt;BR /&gt;&lt;BR /&gt;So how to do it ?</description>
      <pubDate>Fri, 04 Dec 2015 14:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232981#M22771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap Expression Help</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232982#M22772</link>
      <description>after adding your expression i get this error : 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/288326/erreur.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCPf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149987i30A80DC243DABFBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCPf.png" alt="0683p000009MCPf.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/288326/erreur.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCPf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149987i30A80DC243DABFBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCPf.png" alt="0683p000009MCPf.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Fri, 04 Dec 2015 14:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232982#M22772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T14:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap Expression Help</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232983#M22773</link>
      <description>It looks like you have a non numeric value in your number (maybe a monetary unit?) or the value is an empty string. If it is the non numeric unit, you will need to remove it. If it is an empty string, you need to filter those from being processed. 
&lt;BR /&gt;For example.... 
&lt;BR /&gt; 
&lt;PRE&gt;row1.MONT!=null &amp;amp;&amp;amp;&amp;nbsp;row1.MONT.trim().compareToIgnoreCase("")!=0 ? new BigDecimal(row1.MONT) : null&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2015 15:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232983#M22773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap Expression Help</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232984#M22774</link>
      <description>Thank you it works.&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 04 Dec 2015 15:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-Expression-Help/m-p/2232984#M22774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T15:49:09Z</dc:date>
    </item>
  </channel>
</rss>

