<?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 Parse http xml reponse without creating temp file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339226#M107397</link>
    <description>Hello,
&lt;BR /&gt;I'm starting with TOS.
&lt;BR /&gt;I want to get the response of a http request (is a xml output) and then parse it.
&lt;BR /&gt;I don't want to use a temporary file to store the xml file, I rather like to parse it directly.
&lt;BR /&gt;My first approach is:
&lt;BR /&gt;tFileFectch --&amp;gt; tCreateTemporaryFile --&amp;gt; tFileInputXML
&lt;BR /&gt;Is there any way to achieve this functionality without creating a temporary file?
&lt;BR /&gt;Any suggestions?
&lt;BR /&gt;Thanks in advance.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Mikel.</description>
    <pubDate>Sat, 16 Nov 2024 13:54:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:54:46Z</dc:date>
    <item>
      <title>Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339226#M107397</link>
      <description>Hello,
&lt;BR /&gt;I'm starting with TOS.
&lt;BR /&gt;I want to get the response of a http request (is a xml output) and then parse it.
&lt;BR /&gt;I don't want to use a temporary file to store the xml file, I rather like to parse it directly.
&lt;BR /&gt;My first approach is:
&lt;BR /&gt;tFileFectch --&amp;gt; tCreateTemporaryFile --&amp;gt; tFileInputXML
&lt;BR /&gt;Is there any way to achieve this functionality without creating a temporary file?
&lt;BR /&gt;Any suggestions?
&lt;BR /&gt;Thanks in advance.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Mikel.</description>
      <pubDate>Sat, 16 Nov 2024 13:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339226#M107397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339227#M107398</link>
      <description>Hello 
&lt;BR /&gt;Yes, you can parse the xml file directly after you get it from URL. The job looks like: 
&lt;BR /&gt;tFileFectch --&amp;gt;OnSubJOBOK--&amp;gt; tFileInputXML--&amp;gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 18 Jun 2009 04:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339227#M107398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-18T04:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339228#M107399</link>
      <description>Hello,
&lt;BR /&gt;If I use the following structure:
&lt;BR /&gt;tFileFectch --&amp;gt;OnSubJOBOK--&amp;gt; tFileInputXML
&lt;BR /&gt;Assume in tFileFetch I get a XML from a URL: hhtp://www.example.com/helloworld.xml
&lt;BR /&gt;How can I specify in tFileInputXML Filename field the previous entry?
&lt;BR /&gt;Thanks in advance.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Mikel.</description>
      <pubDate>Mon, 22 Jun 2009 14:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339228#M107399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-22T14:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339229#M107400</link>
      <description>Hello Mikel
&lt;BR /&gt;You are using tFileFetch to featch the xml, you will specify the folder path and file name on tFileFetch. eg:
&lt;BR /&gt;Destination directory: "c:/shong"
&lt;BR /&gt;Destiination file name: "helloworld.xml"
&lt;BR /&gt;On tFileInputxml, specify the file path from local machine. eg:
&lt;BR /&gt;"c:/shong/helloworld.xml"
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 22 Jun 2009 14:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339229#M107400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-22T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339230#M107401</link>
      <description>Hello,&lt;BR /&gt;Ok, I understand.&lt;BR /&gt;But I don't want to store a file into filesystem.&lt;BR /&gt;My objetive is to read the http response (xml) and parse it without saving the file.&lt;BR /&gt;It is this possible? or at least I need to store a temp file?&lt;BR /&gt;Regards,&lt;BR /&gt;Mikel.</description>
      <pubDate>Mon, 22 Jun 2009 14:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339230#M107401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-22T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339231#M107402</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;It is this possible? or at least I need to store a temp file?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Delete the file at the end of job. eg:
&lt;BR /&gt;get file from url and parse xml file
&lt;BR /&gt; |
&lt;BR /&gt; onSubjobOk 
&lt;BR /&gt; | 
&lt;BR /&gt; tFileDelete
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 22 Jun 2009 14:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339231#M107402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-22T14:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339232#M107403</link>
      <description>Is it posible to do this:&lt;BR /&gt;t_fetch_http_request_as_xml =&amp;gt; t_parse_xml =&amp;gt; tFileOutputDelimeited   &lt;BR /&gt;Can you tell me what to use for t_fetch_http_request_as_xml  and t_parse_xml with some details to get below results.&lt;BR /&gt;I don't want any temp files on file system if possible.&lt;BR /&gt;Input XML over http&lt;BR /&gt;&amp;lt;xml&amp;gt;&lt;BR /&gt;   &amp;lt;row type="type1" name="1"&amp;gt;&lt;BR /&gt;   &amp;lt;row type="type1" name="2"&amp;gt;&lt;BR /&gt;   &amp;lt;row type="type1" name="3"&amp;gt;&lt;BR /&gt;   &amp;lt;row type="type2" name="4"&amp;gt;&lt;BR /&gt;   &amp;lt;row type="type2" name="5"&amp;gt;&lt;BR /&gt;   &amp;lt;row type="type2" name="6"&amp;gt;&lt;BR /&gt;&amp;lt;/xml&amp;gt;&lt;BR /&gt;result csv file&lt;BR /&gt;type1,1&lt;BR /&gt;type1,2&lt;BR /&gt;type1,3&lt;BR /&gt;type2,4&lt;BR /&gt;type2,5&lt;BR /&gt;type2,6</description>
      <pubDate>Mon, 24 Oct 2011 15:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339232#M107403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-24T15:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parse http xml reponse without creating temp file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339233#M107404</link>
      <description>Hi Aca,&lt;BR /&gt;Yes, this is possible.&lt;BR /&gt;See my attached screen shot 1.&lt;BR /&gt;Make sure you check the "Use cache to save the resource" check box in the properties of the tFileFetch component (screen 2) and use this cache stream as input on the tFileInputXML (screen 3)&lt;BR /&gt;Good luck!&lt;BR /&gt;Regards,&lt;BR /&gt;Arno</description>
      <pubDate>Tue, 25 Oct 2011 09:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-http-xml-reponse-without-creating-temp-file/m-p/2339233#M107404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-25T09:40:50Z</dc:date>
    </item>
  </channel>
</rss>

