<?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: How to save Base64 from XML to file ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324516#M94206</link>
    <description>@xdshi Thank you ! That really helps! 
&lt;BR /&gt;Just one more question: 
&lt;BR /&gt;How do I save each base64 to a file with custom file name convention ? 
&lt;BR /&gt;Thanks!</description>
    <pubDate>Tue, 13 May 2014 07:03:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-13T07:03:47Z</dc:date>
    <item>
      <title>How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324511#M94201</link>
      <description>Hi, 
&lt;BR /&gt;I'm new to Talend and i've been searching all over the net about how to iterate an XML and save bytes to file. 
&lt;BR /&gt;I still didn't manage to understand how to get it done. 
&lt;BR /&gt;I have the following XML: 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;BR /&gt;&amp;lt;row&amp;gt; 
&lt;BR /&gt;&amp;lt;actorid&amp;gt;1&amp;lt;/actorid&amp;gt; 
&lt;BR /&gt;&amp;lt;name&amp;gt;AAA&amp;lt;/name&amp;gt; 
&lt;BR /&gt;&amp;lt;pdf&amp;gt; SOME BASE64 STRING NEEDS TO BE CONVERTED TO BYTES AND SAVED TO FILE &amp;lt;/pdf&amp;gt; 
&lt;BR /&gt;&amp;lt;/row&amp;gt; 
&lt;BR /&gt;&amp;lt;row&amp;gt; 
&lt;BR /&gt;&amp;lt;actorid&amp;gt;2&amp;lt;/actorid&amp;gt; 
&lt;BR /&gt;&amp;lt;name&amp;gt;BBB&amp;lt;/name&amp;gt; 
&lt;BR /&gt;&amp;lt;pdf&amp;gt; SOME BASE64 STRING NEEDS TO BE CONVERTED TO BYTES AND SAVED TO FILE &amp;lt;/pdf&amp;gt; 
&lt;BR /&gt;&amp;lt;/row&amp;gt; 
&lt;BR /&gt;&amp;lt;row&amp;gt; 
&lt;BR /&gt;&amp;lt;actorid&amp;gt;3&amp;lt;/actorid&amp;gt; 
&lt;BR /&gt;&amp;lt;name&amp;gt;CCC&amp;lt;/name&amp;gt; 
&lt;BR /&gt;&amp;lt;pdf&amp;gt; SOME BASE64 STRING NEEDS TO BE CONVERTED TO BYTES AND SAVED TO FILE &amp;lt;/pdf&amp;gt; 
&lt;BR /&gt;&amp;lt;/row&amp;gt; 
&lt;BR /&gt;&amp;lt;/root&amp;gt; 
&lt;BR /&gt;As I mentioned, I need to run over the XML --&amp;gt; convert each base64 string to bytes --&amp;gt; save it to file. 
&lt;BR /&gt;I do managed to read the input file and set a schema to it (You can see it in the attached image). 
&lt;BR /&gt;Any help ? 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDyu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156932i603C6B26F625D182/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDyu.png" alt="0683p000009MDyu.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 09 May 2014 16:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324511#M94201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-09T16:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324512#M94202</link>
      <description>Any help ?</description>
      <pubDate>Sat, 10 May 2014 09:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324512#M94202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-10T09:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324513#M94203</link>
      <description>Hi, 
&lt;BR /&gt;If you search on the exchange platform (keyword: base64) you'll find a component and a routine collection which just might address your problem.
&lt;BR /&gt;Good luck.</description>
      <pubDate>Sat, 10 May 2014 19:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324513#M94203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-10T19:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324514#M94204</link>
      <description>Hi,&lt;BR /&gt;1. What is "exchange platform" ?&lt;BR /&gt;2. Can you describe the message flow ? I'm very new to Talend and I can't figure out what should be the message flow.</description>
      <pubDate>Sun, 11 May 2014 15:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324514#M94204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-11T15:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324515#M94205</link>
      <description>Hi, 
&lt;BR /&gt;
&lt;A href="http://www.talendforge.org/exchange/index.php" target="_blank" rel="nofollow noopener noreferrer"&gt;Talend Exchange Platform&lt;/A&gt; is the place where Talend community can share items related to Talend open source products.
&lt;BR /&gt;Here is a custom component 
&lt;A href="http://www.talendforge.org/exchange/index.php?eid=483&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" target="_blank" rel="nofollow noopener noreferrer"&gt;tBase64&lt;/A&gt; which allows you to encode/decode distinctly each dataset columns by base64 scheme.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 12 May 2014 09:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324515#M94205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-12T09:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324516#M94206</link>
      <description>@xdshi Thank you ! That really helps! 
&lt;BR /&gt;Just one more question: 
&lt;BR /&gt;How do I save each base64 to a file with custom file name convention ? 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 13 May 2014 07:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324516#M94206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T07:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324517#M94207</link>
      <description>Still stuck. &lt;BR /&gt;Any help with saving multiple files with custom convention for each one ?</description>
      <pubDate>Tue, 13 May 2014 19:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324517#M94207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to save Base64 from XML to file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324518#M94208</link>
      <description>Did you ever solve your problem? I ran into the same issue.</description>
      <pubDate>Mon, 21 Nov 2016 16:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-save-Base64-from-XML-to-file/m-p/2324518#M94208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-21T16:21:03Z</dc:date>
    </item>
  </channel>
</rss>

