<?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: Advanced XML output writing in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333315#M102109</link>
    <description>Hi Pedro,
&lt;BR /&gt;Thanks for your answer !
&lt;BR /&gt;I tried your solution and added a second loop on program. The XML Output structure is here.
&lt;BR /&gt;Now I've problem with the DomElement. I want my program column to be the program XML element. 
&lt;BR /&gt;With the current solution, my program column content is added as text ("&amp;lt;" and "&amp;gt;" are encoded as "&amp;lt;" and "&amp;gt;") and can not be parsed properly...
&lt;BR /&gt;Regards,
&lt;BR /&gt;Max</description>
    <pubDate>Thu, 01 Dec 2011 12:42:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-12-01T12:42:05Z</dc:date>
    <item>
      <title>Advanced XML output writing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333313#M102107</link>
      <description>Hello, 
&lt;BR /&gt;I have some problems to write data in an specific XML file format 
&lt;BR /&gt;I want to build a file from this row format 
&lt;BR /&gt; 
&lt;B&gt;Column Type&lt;/B&gt; 
&lt;BR /&gt; 
&lt;I&gt;channel_id (int)&lt;BR /&gt;program_id (int)&lt;BR /&gt;program (DomElement)&lt;/I&gt; 
&lt;BR /&gt;My output file should have this structure 
&lt;BR /&gt; 
&lt;I&gt;&amp;lt;channels&amp;gt; (my root element)&lt;BR /&gt; &amp;lt;channel channel_id="1"&amp;gt;&lt;BR /&gt; &amp;lt;program program_id="1"&amp;gt;&lt;BR /&gt; &amp;lt;programdomcontent/&amp;gt;&lt;BR /&gt; &amp;lt;/program&amp;gt;&lt;BR /&gt; &amp;lt;program program_id="2"/&amp;gt;&lt;BR /&gt; &amp;lt;programdomcontent/&amp;gt;&lt;BR /&gt; &amp;lt;/program&amp;gt;&lt;BR /&gt; &amp;lt;/channel&amp;gt;&lt;BR /&gt; &amp;lt;channel channel_id="2"&amp;gt;&lt;BR /&gt; &amp;lt;program program_id="3"/&amp;gt;&lt;BR /&gt; &amp;lt;programdomcontent/&amp;gt;&lt;BR /&gt; &amp;lt;/program&amp;gt;&lt;BR /&gt; &amp;lt;program program_id="4"/&amp;gt;&lt;BR /&gt; &amp;lt;programdomcontent/&amp;gt;&lt;BR /&gt; &amp;lt;/program&amp;gt;&lt;BR /&gt; &amp;lt;/channel&amp;gt;&lt;BR /&gt;&amp;lt;/channels&amp;gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Currently I'm using a tJavaFlex with org.dom4j.Element to perform the xml build. I tried to use the tAdvancedFileOutputXML instead, with no success. 
&lt;BR /&gt;How can I transform my rows in the desired XML file format? 
&lt;BR /&gt;Can anyone help me or give me a lead ? 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Max</description>
      <pubDate>Sat, 16 Nov 2024 12:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333313#M102107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced XML output writing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333314#M102108</link>
      <description>Hi&lt;BR /&gt;You may use tAdvancedFileOutputXml to format xml file.&lt;BR /&gt;Best regards!&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 01 Dec 2011 12:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333314#M102108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-01T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced XML output writing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333315#M102109</link>
      <description>Hi Pedro,
&lt;BR /&gt;Thanks for your answer !
&lt;BR /&gt;I tried your solution and added a second loop on program. The XML Output structure is here.
&lt;BR /&gt;Now I've problem with the DomElement. I want my program column to be the program XML element. 
&lt;BR /&gt;With the current solution, my program column content is added as text ("&amp;lt;" and "&amp;gt;" are encoded as "&amp;lt;" and "&amp;gt;") and can not be parsed properly...
&lt;BR /&gt;Regards,
&lt;BR /&gt;Max</description>
      <pubDate>Thu, 01 Dec 2011 12:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333315#M102109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-01T12:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced XML output writing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333316#M102110</link>
      <description>Building on Pedro's example...set "loop element" (right-click) on program and "group" (right-click) on channel.</description>
      <pubDate>Thu, 01 Dec 2011 13:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Advanced-XML-output-writing/m-p/2333316#M102110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-01T13:04:25Z</dc:date>
    </item>
  </channel>
</rss>

