<?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 Defining namespace for Loop element in tAdvancedFileOutputXML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Defining-namespace-for-Loop-element-in-tAdvancedFileOutputXML/m-p/2241316#M28504</link>
    <description>Hi, yet another problem I'm having 
&lt;BR /&gt;I need an XML structure that looks like the image I uploaded with this post. (named XMLStructure) 
&lt;BR /&gt;But when I try to set the namespace for the "Item" element - which is also my loop element in Talend, I get this error: 
&lt;BR /&gt;Exception in component tAdvancedFileOutputXML_1 
&lt;BR /&gt;org.dom4j.IllegalAddException: No such namespace prefix: fnf_dk is in scope on: org.dom4j.tree.DefaultElement@1f6f296 /&amp;gt;] so cannot add element: fnf_dk:Item 
&lt;BR /&gt; at org.dom4j.tree.AbstractElement.addElement(AbstractElement.java:841) 
&lt;BR /&gt; at db_xml_export.dbtoxml_0_1.DBtoXML.tMysqlInput_2Process(DBtoXML.java:44249) 
&lt;BR /&gt; at db_xml_export.dbtoxml_0_1.DBtoXML.runJobInTOS(DBtoXML.java:45841) 
&lt;BR /&gt; at db_xml_export.dbtoxml_0_1.DBtoXML.main(DBtoXML.java:45756) 
&lt;BR /&gt;Job DBtoXML ended at 15:18 08/07/2008. 
&lt;BR /&gt;But if I add the namespace to the "Items" element instead, I generate an XML file, but it's not valid according to what I need. (named MyXML) (this is the only way I've been able to generate an XML file with namespaces at all) 
&lt;BR /&gt;How come I cannot place a namespace on anything lower in the heirarchy than the Items element? and how can I achieve this? 
&lt;BR /&gt;Regards JJM 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCd6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127770i32EEF2C1807F7625/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCd6.png" alt="0683p000009MCd6.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCaP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132146i6B2DB45EC4D3C555/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCaP.png" alt="0683p000009MCaP.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCcJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128129iC512F260ADC81108/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCcJ.png" alt="0683p000009MCcJ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCXx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128688iEED7E44F077943CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCXx.png" alt="0683p000009MCXx.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 14:18:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:18:29Z</dc:date>
    <item>
      <title>Defining namespace for Loop element in tAdvancedFileOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Defining-namespace-for-Loop-element-in-tAdvancedFileOutputXML/m-p/2241316#M28504</link>
      <description>Hi, yet another problem I'm having 
&lt;BR /&gt;I need an XML structure that looks like the image I uploaded with this post. (named XMLStructure) 
&lt;BR /&gt;But when I try to set the namespace for the "Item" element - which is also my loop element in Talend, I get this error: 
&lt;BR /&gt;Exception in component tAdvancedFileOutputXML_1 
&lt;BR /&gt;org.dom4j.IllegalAddException: No such namespace prefix: fnf_dk is in scope on: org.dom4j.tree.DefaultElement@1f6f296 /&amp;gt;] so cannot add element: fnf_dk:Item 
&lt;BR /&gt; at org.dom4j.tree.AbstractElement.addElement(AbstractElement.java:841) 
&lt;BR /&gt; at db_xml_export.dbtoxml_0_1.DBtoXML.tMysqlInput_2Process(DBtoXML.java:44249) 
&lt;BR /&gt; at db_xml_export.dbtoxml_0_1.DBtoXML.runJobInTOS(DBtoXML.java:45841) 
&lt;BR /&gt; at db_xml_export.dbtoxml_0_1.DBtoXML.main(DBtoXML.java:45756) 
&lt;BR /&gt;Job DBtoXML ended at 15:18 08/07/2008. 
&lt;BR /&gt;But if I add the namespace to the "Items" element instead, I generate an XML file, but it's not valid according to what I need. (named MyXML) (this is the only way I've been able to generate an XML file with namespaces at all) 
&lt;BR /&gt;How come I cannot place a namespace on anything lower in the heirarchy than the Items element? and how can I achieve this? 
&lt;BR /&gt;Regards JJM 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCd6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127770i32EEF2C1807F7625/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCd6.png" alt="0683p000009MCd6.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCaP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132146i6B2DB45EC4D3C555/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCaP.png" alt="0683p000009MCaP.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCcJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128129iC512F260ADC81108/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCcJ.png" alt="0683p000009MCcJ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCXx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128688iEED7E44F077943CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCXx.png" alt="0683p000009MCXx.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Defining-namespace-for-Loop-element-in-tAdvancedFileOutputXML/m-p/2241316#M28504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Defining namespace for Loop element in tAdvancedFileOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Defining-namespace-for-Loop-element-in-tAdvancedFileOutputXML/m-p/2241317#M28505</link>
      <description>I have reporet 4552 on this problem.&lt;BR /&gt;Thanks for your support.</description>
      <pubDate>Wed, 16 Jul 2008 11:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Defining-namespace-for-Loop-element-in-tAdvancedFileOutputXML/m-p/2241317#M28505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-16T11:08:33Z</dc:date>
    </item>
  </channel>
</rss>

