<?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 Text file with multiple XML Code Blocks in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Text-file-with-multiple-XML-Code-Blocks/m-p/2317739#M88147</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where we have a text file with multiple XML code blocks along with additional information.&lt;/P&gt;&lt;P&gt;Sample XML :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ID:1238785113# REQID:AB1234BV# PRCD:SAMPLE# PRGID:268be371-5e6d&lt;/P&gt;&lt;P&gt;REQ	4d50e4cb	ABN12349854	2021-01-08 08:01:59.398	AB	ABNDERW	A	51	6.1.3.230	1211	0	&lt;/P&gt;&lt;P&gt;IO	4d50e4cb &lt;B&gt;&lt;I&gt;&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;Book type="Children"&amp;gt;&amp;lt;content&amp;gt;.......&amp;lt;/content&amp;gt;&amp;lt;/Book&amp;gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;# ID:98724551# REQID:BR12345# PRCD:SAMPLE# PRGID:531478-5e6d&lt;/P&gt;&lt;P&gt;REQ	1b241341	B23a12454	2021-01-08 08:01:59.398	AB	ABNDERW	A	51	6.1.3.230	1211	0	&lt;/P&gt;&lt;P&gt;IO	1b241341 &lt;B&gt;&lt;I&gt;&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;Book type="Education"&amp;gt;&amp;lt;content&amp;gt;.......&amp;lt;/content&amp;gt;&amp;lt;/Book&amp;gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;...so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to remove the unwanted log information and extract only the XML content marked in &lt;B&gt;&lt;I&gt;Bold &lt;/I&gt;&lt;/B&gt;into multiple output XML files and process them.&lt;/P&gt;&lt;P&gt;Can anyone suggest how to remove the unwanted information from the file and process only the XML content into multiple output files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2021 13:45:51 GMT</pubDate>
    <dc:creator>Gunner49</dc:creator>
    <dc:date>2021-01-08T13:45:51Z</dc:date>
    <item>
      <title>Text file with multiple XML Code Blocks</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Text-file-with-multiple-XML-Code-Blocks/m-p/2317739#M88147</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where we have a text file with multiple XML code blocks along with additional information.&lt;/P&gt;&lt;P&gt;Sample XML :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ID:1238785113# REQID:AB1234BV# PRCD:SAMPLE# PRGID:268be371-5e6d&lt;/P&gt;&lt;P&gt;REQ	4d50e4cb	ABN12349854	2021-01-08 08:01:59.398	AB	ABNDERW	A	51	6.1.3.230	1211	0	&lt;/P&gt;&lt;P&gt;IO	4d50e4cb &lt;B&gt;&lt;I&gt;&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;Book type="Children"&amp;gt;&amp;lt;content&amp;gt;.......&amp;lt;/content&amp;gt;&amp;lt;/Book&amp;gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;# ID:98724551# REQID:BR12345# PRCD:SAMPLE# PRGID:531478-5e6d&lt;/P&gt;&lt;P&gt;REQ	1b241341	B23a12454	2021-01-08 08:01:59.398	AB	ABNDERW	A	51	6.1.3.230	1211	0	&lt;/P&gt;&lt;P&gt;IO	1b241341 &lt;B&gt;&lt;I&gt;&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;Book type="Education"&amp;gt;&amp;lt;content&amp;gt;.......&amp;lt;/content&amp;gt;&amp;lt;/Book&amp;gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;...so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to remove the unwanted log information and extract only the XML content marked in &lt;B&gt;&lt;I&gt;Bold &lt;/I&gt;&lt;/B&gt;into multiple output XML files and process them.&lt;/P&gt;&lt;P&gt;Can anyone suggest how to remove the unwanted information from the file and process only the XML content into multiple output files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 13:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Text-file-with-multiple-XML-Code-Blocks/m-p/2317739#M88147</guid>
      <dc:creator>Gunner49</dc:creator>
      <dc:date>2021-01-08T13:45:51Z</dc:date>
    </item>
  </channel>
</rss>

