<?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: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369499#M132637</link>
    <description>&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBIr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152264i7DBAD23977A4D30C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBIr.png" alt="0683p000009MBIr.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBIw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135773iE0A6EB3127E819B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBIw.png" alt="0683p000009MBIw.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB7G.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135482iE334A3ABA1F9712E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB7G.png" alt="0683p000009MB7G.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Mon, 20 Oct 2014 12:54:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-20T12:54:25Z</dc:date>
    <item>
      <title>Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369496#M132634</link>
      <description>I am trying to move XML data that is stored in an Oracle 11 database as type XMLTYPE to anything else. I would be fine with simply being able to export into a delimited text file. The problem being I do not see where or how to allow Talend to loop thru the XML document as an XML document. 
&lt;BR /&gt;I have ran into a wall trying to process an XMLTYPE Oracle document from Oracle. I can not find anywhere that shows how to parse thru the stored XML document.&amp;nbsp; 
&lt;BR /&gt;I found one post that was directed towards creating the XMLTYPE but nothing about pulling data out. 
&lt;BR /&gt;This is the Oracle schema / DDL 
&lt;BR /&gt; 
&lt;BR /&gt;I get this error when trying to perform the following. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Any assistance will be greatly appreciated.</description>
      <pubDate>Fri, 17 Oct 2014 19:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369496#M132634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-17T19:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369497#M132635</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I am trying to move XML data that is stored in an Oracle 11 database as type XMLTYPE to anything else. I would be fine with simply being able to export into a delimited text file. The problem being I do not see where or how to allow Talend to loop thru the XML document as an XML document.&lt;BR /&gt;I have ran into a wall trying to process an XMLTYPE Oracle document from Oracle. I can not find anywhere that shows how to parse thru the stored XML document.&amp;nbsp;&lt;BR /&gt;I found one post that was directed towards creating the XMLTYPE but nothing about pulling data out.&lt;BR /&gt;This is the Oracle schema / DDL&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;The screenshot is missing. Could you please check it? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 20 Oct 2014 05:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369497#M132635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-20T05:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369498#M132636</link>
      <description>&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBAj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138979i31EE5B0E9FD0F054/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBAj.png" alt="0683p000009MBAj.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 20 Oct 2014 12:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369498#M132636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-20T12:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369499#M132637</link>
      <description>&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBIr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152264i7DBAD23977A4D30C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBIr.png" alt="0683p000009MBIr.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBIw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135773iE0A6EB3127E819B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBIw.png" alt="0683p000009MBIw.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB7G.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135482iE334A3ABA1F9712E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB7G.png" alt="0683p000009MB7G.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 20 Oct 2014 12:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369499#M132637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-20T12:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369500#M132638</link>
      <description>I pasted the screenshots and have not received a response. Can you please help me with my dilemma?&lt;BR /&gt;I still have not found a way to retrieve data from an xmltype column in oracle with talend. When using the TORACLE_INPUT component and performing a select *... The query returns a null for the xmltype column. I am trying to extract from oracle to netezza and I am having a horribly difficult time even accessing the xmltype from talend.</description>
      <pubDate>Mon, 27 Oct 2014 15:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369500#M132638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-27T15:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369501#M132639</link>
      <description>hi,
&lt;BR /&gt;it's just a workaround but try to read your XMLTYPE as a byte array (byte[]) and in a tjavarow create new String with it.
&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;ouput_row.XML_DOCUMENT = new String(input_row.XML_DOCUMENT)&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;As the error tell us, the type of the object return is a resultSet &amp;amp; it's not trivial to convert it to a Document type.
&lt;BR /&gt;Did you try tha advanced setting that allow to use the extract() Oracle method (return String type) but remain that there's 4.0000 caracters constraints (i guess) and it seems slower than using byte[]
&lt;BR /&gt;hope it helps
&lt;BR /&gt;laurent</description>
      <pubDate>Tue, 28 Oct 2014 11:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369501#M132639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-28T11:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369502#M132640</link>
      <description>Thank you for your response Laurent. I have tried the advanced setting which renders no error however it views the field as a null. When trying to use other java features I am getting null pointer exceptions. I attempted to use your suggestion and I am getting a type mismatch. I have only been working with Talend since August of this year so please forgive me for my lack of knowledge. 
&lt;BR /&gt;I feel that it has to do with how I am trying to access the data. Perhaps Talend is just not capable of accessing this data type? 
&lt;BR /&gt;Here is the DDL of the Oracle table I am trying to pull from along with a snippet of one of the records. I can pull everything but the XML_DOCUMENT field. I am beginning to believe that this is a shortcoming of the tool. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBIY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146449i07CAB430D6F0033A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBIY.png" alt="0683p000009MBIY.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB00.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135926i029F924D5C208829/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB00.png" alt="0683p000009MB00.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 28 Oct 2014 12:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369502#M132640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-28T12:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369503#M132641</link>
      <description>just change javatype to byte[] and create new String in tjavaRow 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB8U.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131583i5605239DF564324E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB8U.png" alt="0683p000009MB8U.png" /&gt;&lt;/span&gt; 
&lt;PRE&gt;&lt;BR /&gt;output_row.GO_XML = new String(input_row.GO_XML);&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;The last time I've done such things, it was still some binary data in result,I've cut (clean) them to retrieve my data. 
&lt;BR /&gt;regards</description>
      <pubDate>Tue, 28 Oct 2014 14:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369503#M132641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-28T14:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369504#M132642</link>
      <description>Using the code below I can select from one of the XML_DOCUMENTS that does not have multiple nodes. When there are nodes that require the loop I error due to duplicate. Considering that I can select data from individual nodes based on primary key I feel there must be a way that I can use the xpath to loop over these documents some way. Perhaps not...&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;SELECT &lt;BR /&gt;extractvalue(XML_DOCUMENT, '/cds-mistint/tt_cds-mistint/store-nbr/text()')&amp;nbsp; as STORE_NBR,&lt;BR /&gt;extractvalue(XML_DOCUMENT, '/cds-mistint/tt_cds-mistint/control-nbr/text()')&amp;nbsp; as CONTROL_NBR,&lt;BR /&gt;extractvalue(XML_DOCUMENT, '/cds-mistint/tt_cds-mistint/line-nbr/text()')&amp;nbsp; as LINE_NBR,&lt;BR /&gt;extractvalue(XML_DOCUMENT, '/cds-mistint/tt_cds-mistint/sales-nbr/text()')&amp;nbsp; as SALES_NBR&lt;BR /&gt;FROM TABLE_NAME&lt;BR /&gt;where GUID = 'PRIMARY_KEY'&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Oct 2014 14:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369504#M132642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-29T14:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369505#M132643</link>
      <description>with something like&amp;nbsp;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;/cds-mistint/tt_cds-mistint//store-nbr&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;you can retrieve all nodes store-nbre under &lt;BR /&gt;&lt;BR /&gt;hope it helps</description>
      <pubDate>Wed, 29 Oct 2014 14:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369505#M132643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-29T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select from ORACLE XMLTYPE Datatype to any ouput. getDocument</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369506#M132644</link>
      <description>how to extract xml data from xml type column in database table as input&amp;nbsp;and those xml data need to insert some other tables in database as output&amp;nbsp;please help me to find this</description>
      <pubDate>Fri, 10 Jul 2015 08:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Select-from-ORACLE-XMLTYPE-Datatype-to-any-ouput-getDocument/m-p/2369506#M132644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-10T08:38:08Z</dc:date>
    </item>
  </channel>
</rss>

