<?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: Create a variable containing a string by reading an XML file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-a-variable-containing-a-string-by-reading-an-XML-file/m-p/2292364#M65441</link>
    <description>I suggest you first read you XML file and format to CSV,&lt;BR /&gt;&lt;BR /&gt;tFileInputMSXML ---&amp;gt; tLogRow&lt;BR /&gt;&lt;BR /&gt;After that step, we can then help&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Jun 2019 16:21:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-19T16:21:18Z</dc:date>
    <item>
      <title>Create a variable containing a string by reading an XML file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-a-variable-containing-a-string-by-reading-an-XML-file/m-p/2292363#M65440</link>
      <description>&lt;P&gt;Hi everyone, I'm new on talend.&lt;BR /&gt;I have an XML file from which I read some parameters, after which with these parameters I have to construct a string to save in a global variable which will then be called in the tSOAP element. the string to be created must be of the following type:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;000002;000001;18000101;HRANAGRAPHIC;IDPRCATE;;001||000002;000001;18000101;HRANAGRAPHIC;NAME;;001||000002;000001;18000101;HANAGRAPHIC;SURNAME;;001 &lt;/PRE&gt;
&lt;P&gt;where ";" separates each parameter I read from my XML, while "||" separate each record I always read from my XML. Someone very kindly could tell me the work flow I have to implement to do this. I would be very grateful.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 10:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-a-variable-containing-a-string-by-reading-an-XML-file/m-p/2292363#M65440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-19T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create a variable containing a string by reading an XML file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-a-variable-containing-a-string-by-reading-an-XML-file/m-p/2292364#M65441</link>
      <description>I suggest you first read you XML file and format to CSV,&lt;BR /&gt;&lt;BR /&gt;tFileInputMSXML ---&amp;gt; tLogRow&lt;BR /&gt;&lt;BR /&gt;After that step, we can then help&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2019 16:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-a-variable-containing-a-string-by-reading-an-XML-file/m-p/2292364#M65441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-19T16:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create a variable containing a string by reading an XML file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-a-variable-containing-a-string-by-reading-an-XML-file/m-p/2292365#M65442</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can read the XML data through XML parsing components of Talend and get the output records. Like dgm suggested, you can push the data to an interim file with your specific data separation requirements to use semicolon and double pipe.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M63O.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133034i6B83FB748AC8BEF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M63O.png" alt="0683p000009M63O.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This interim file can be used to process the data further in your flow. Since you are making an interim file, please remember to delete this file after your use as a house keeping measure.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 21:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-a-variable-containing-a-string-by-reading-an-XML-file/m-p/2292365#M65442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-19T21:26:28Z</dc:date>
    </item>
  </channel>
</rss>

