<?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: Process XML field from SQL Server Xform to PostgreSQL table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Process-XML-field-from-SQL-Server-Xform-to-PostgreSQL-table/m-p/2229432#M20373</link>
    <description>Hi Milan,&lt;BR /&gt;&lt;BR /&gt;PostgreSQL cannot parse the XML content and therefore you have to save it as text content(String). &lt;BR /&gt;You can use &lt;BR /&gt;&lt;PRE&gt;String.valueOf(row1.yourDocument)&lt;/PRE&gt;&lt;BR /&gt;to convert the document into a String. &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 04 Nov 2015 03:11:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-04T03:11:47Z</dc:date>
    <item>
      <title>Process XML field from SQL Server Xform to PostgreSQL table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-XML-field-from-SQL-Server-Xform-to-PostgreSQL-table/m-p/2229431#M20372</link>
      <description>Hi ,&amp;nbsp;&lt;BR /&gt;We have XML &amp;nbsp;field from SQL server for one of our tables with &amp;nbsp;data look like ""&lt;B&gt;&amp;lt;values&amp;gt;&amp;lt;value&amp;gt;1182&amp;lt;/value&amp;gt;&amp;lt;/values&amp;gt;"&lt;/B&gt;&lt;BR /&gt;But when we try to &amp;nbsp;map to &amp;nbsp;PostgreSQL tables to XML datatype , we didn't find any matching DB type neither in SQL server Input component(&lt;B&gt;tMSSQLInput&lt;/B&gt;) nor in PostgreSQL output component(&lt;B&gt;tPostgreSQLoutput&lt;/B&gt;).&lt;BR /&gt;We try to use "document" datatype but our source data is not in proper XML tree structure. so parsing is challenge&lt;BR /&gt;we can handle with String datatype-&amp;gt; VARCHAR .but Can someone please suggest some better way to handle as XML in Talend Big data Open Studio ??&lt;BR /&gt;thanks&amp;nbsp;&lt;BR /&gt;Milan&amp;nbsp;</description>
      <pubDate>Sat, 16 Nov 2024 10:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-XML-field-from-SQL-Server-Xform-to-PostgreSQL-table/m-p/2229431#M20372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Process XML field from SQL Server Xform to PostgreSQL table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-XML-field-from-SQL-Server-Xform-to-PostgreSQL-table/m-p/2229432#M20373</link>
      <description>Hi Milan,&lt;BR /&gt;&lt;BR /&gt;PostgreSQL cannot parse the XML content and therefore you have to save it as text content(String). &lt;BR /&gt;You can use &lt;BR /&gt;&lt;PRE&gt;String.valueOf(row1.yourDocument)&lt;/PRE&gt;&lt;BR /&gt;to convert the document into a String. &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 04 Nov 2015 03:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-XML-field-from-SQL-Server-Xform-to-PostgreSQL-table/m-p/2229432#M20373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T03:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process XML field from SQL Server Xform to PostgreSQL table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-XML-field-from-SQL-Server-Xform-to-PostgreSQL-table/m-p/2229433#M20374</link>
      <description>Thanks Sabrina for confirmation! I read XML field as string and load data to table using TEXT.&lt;BR /&gt;either solution works for me ..but bad to hear we dont have XML datatype in DI&amp;nbsp;</description>
      <pubDate>Wed, 04 Nov 2015 03:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-XML-field-from-SQL-Server-Xform-to-PostgreSQL-table/m-p/2229433#M20374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T03:18:41Z</dc:date>
    </item>
  </channel>
</rss>

