<?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: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314782#M85516</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Just want to confirm  what are your expected result, do you want to generate different xml file for each Keyword? and what does the output file name look like? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 07:57:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-21T07:57:46Z</dc:date>
    <item>
      <title>Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314781#M85515</link>
      <description>&lt;P&gt;So, I am having a special kind of xml file (multiple of them) of which I need to map to a template. &lt;/P&gt;&lt;P&gt;Sample file. &lt;/P&gt;&lt;P&gt;&amp;lt;root&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;header&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;generated&amp;gt;2013-11-29 00:00:00&amp;lt;/generated&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;somestuff/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/header&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;catalog/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;article/&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;id&amp;gt;111111&amp;lt;/id&amp;gt; xxx&amp;lt;!-- split / aggregate by this --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;article-details&amp;gt;/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;description-short&amp;gt;nice article&amp;lt;/description-short&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;description-long&amp;gt;really nice article&amp;lt;/description-short&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword A&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword B&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword C&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword D&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword E&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword F&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword G&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/root&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to map individual keyword plus some of the details in the header individually. The detail fields remain constant but not the values.    For example&lt;/P&gt;&lt;P&gt;&amp;lt;root&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;header&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;generated&amp;gt;2013-11-29 00:00:00&amp;lt;/generated&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;somestuff/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/header&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;catalog/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;article/&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;id&amp;gt;date&amp;lt;/id&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;article-details&amp;gt;/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;description-short&amp;gt;nice article&amp;lt;/description-short&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;description-long&amp;gt;really nice article&amp;lt;/description-short&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword A&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/root&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the file/s have varying number and values for the keywords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the best way to approach this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could do;  &lt;/P&gt;&lt;B&gt;tFiles_Input&lt;/B&gt;&lt;P&gt;----&amp;gt;&lt;/P&gt;&lt;B&gt; tFiles_Extract&lt;/B&gt;&lt;P&gt;------&amp;gt; &lt;/P&gt;&lt;P&gt;(Not sure what have here)------&amp;gt;tMap_xml ˜{I dont know if the spliting could be done from here either}&lt;/P&gt;&lt;P&gt;--------&amp;gt;tFilesOutputXML.&lt;/P&gt;&lt;P&gt;I surely will be grateful for any assistance or help offered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314781#M85515</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2024-11-16T00:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314782#M85516</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Just want to confirm  what are your expected result, do you want to generate different xml file for each Keyword? and what does the output file name look like? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 07:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314782#M85516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-21T07:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314783#M85517</link>
      <description>&lt;P&gt;Hello @Shicong Hong​&amp;nbsp; Thanks so much for the quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, my expected result would be different xml file for each Keyword as you have mentioned , but yes, containing the constant fields that is shared among all the Keywords.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expected output file name would be {{INPUTFILE_NAME +  (Counter +n)}.xml.  I am thinking this would be the best way to solve the output name issue.  (The input file name +  counter, which counter would follow order of read of the keywords. ) e.g InputFileName_1.xml for Keyword A, InputFileName_2.xml for Keyword B InputFileName_3.xml for Keyword C etc.&lt;/P&gt;&lt;P&gt;But if InputFileName_KeywordA.xml for Keyword A and InputFileName_KeywordB.xml for Keyword B is also possible, I would be glad to be guided in attainment of both outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much @Shicong Hong​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 08:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314783#M85517</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-21T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314784#M85518</link>
      <description>&lt;P&gt;One detail I did not mention was that under the Keywords, exist other child fields(Sub-Keywords) that provide details about the Keyword.&lt;/P&gt;&lt;P&gt;e.g &lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword A&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;sub1-keyword&amp;gt;sub1&amp;lt;/sub1-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;sub2-keyword&amp;gt;sub2&amp;lt;/sub2-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;sub3-keyword&amp;gt;sub3&amp;lt;/sub1-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;sub3-keyword&amp;gt;sub4&amp;lt;/sub2-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword B&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;           &amp;lt;sub1-keyword&amp;gt;sub_1&amp;lt;/sub1-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;sub2-keyword&amp;gt;sub_2&amp;lt;/sub2-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;sub3-keyword&amp;gt;sub_3&amp;lt;/sub1-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;sub3-keyword&amp;gt;sub_4&amp;lt;/sub2-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;keyword&amp;gt;keyword C&amp;lt;/keyword&amp;gt;&lt;/P&gt;&lt;P&gt;           &amp;lt;sub1-keyword&amp;gt;sub_K&amp;lt;/sub1-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;sub2-keyword&amp;gt;sub_X&amp;lt;/sub2-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;sub3-keyword&amp;gt;sub_G&amp;lt;/sub1-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;sub3-keyword&amp;gt;sub_L&amp;lt;/sub2-keyword&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But these sub-keyword fields are the same, except their values are always different.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 08:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314784#M85518</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-21T08:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314785#M85519</link>
      <description>&lt;P&gt;SO I tired to split it in this format, but already the tExtract is not lopping through the repeating field as I would expect.  The resultant of the Extract loping through gives me the right number of looping, but the values are the same, none is changing. as seen in the 2nd screenshot.&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000Ac5nBAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133280i3E1CB75F91DBE88A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000Ac5nBAAR.png" alt="0693p00000Ac5nBAAR.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000Ac5rhAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128588i002311F3427ED89E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000Ac5rhAAB.png" alt="0693p00000Ac5rhAAB.png" /&gt;&lt;/span&gt;So  as seen about the Values of fields DG1_1, CE_1, CE_2, CE_3, CE_1 are different but are encapsulated under a main DG1 field which is looped through . E.g on this specific file, DG1 appears 4 times and is the number of times the loop has occurred, but only that the loop is not changing the values. &lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 20:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314785#M85519</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-21T20:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314786#M85520</link>
      <description>&lt;P&gt;Been able to split a and now will have to join each pair and then map to an output which output I would like to have the fileName+ (DG1_1_Number) as seen in the logRow output screenshot. This is where I now most probably need some help and guidance.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000Ac9fRAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150686i19E7F9CD368FC11A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000Ac9fRAAR.png" alt="0693p00000Ac9fRAAR.png" /&gt;&lt;/span&gt;Log RowOutput&lt;/P&gt;&lt;P&gt;@Shicong Hong​&amp;nbsp;So, I found thatr it would be better to have the File name using the file own parameters, hence would like to have the output name  as {(file_name+(DGE_1_Number)} The DG_1_Number is the connecting value that links a pair as seen in the screenshot below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000Ac9v4AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139593i0DB3ACAD65EF08F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000Ac9v4AAB.png" alt="0693p00000Ac9v4AAB.png" /&gt;&lt;/span&gt;​&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 16:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314786#M85520</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-22T16:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314787#M85521</link>
      <description>&lt;P&gt;Final and expected output. Only issue now is naming the output basing on the InputFile_Name+(FieldValue) as stated in the previous post. Will be happy for any guidance from anybody.&lt;/P&gt;&lt;P&gt;Thank you.&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 17:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314787#M85521</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-22T17:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314788#M85522</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Please redesign your job a bit as seen below:&lt;/P&gt;&lt;P&gt;main job:&lt;/P&gt;&lt;P&gt;tFileList--iterate--tRunJob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tRunJob: call the child job and pass the current file path to child job, please refer to this article to learn how to pass the file path to child job. &lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/HavZ1pLN5PZ~FuTJY51TEQ/~c3ZfKEEXBag51N2ux_tBQ" alt="https://help.talend.com/r/HavZ1pLN5PZ~FuTJY51TEQ/~c3ZfKEEXBag51N2ux_tBQ" target="_blank"&gt;https://help.talend.com/r/HavZ1pLN5PZ~FuTJY51TEQ/~c3ZfKEEXBag51N2ux_tBQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Child job:&lt;/P&gt;&lt;P&gt;tFileInputXML.........tHashOutput1&lt;/P&gt;&lt;P&gt;                                tHashOutput2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput1-----main---tMap---out1-tFlowToIterate--iterate--tFixeFlowInput---main--tXMLMap---tFileOutputXML&lt;/P&gt;&lt;P&gt;                                        |lookup&lt;/P&gt;&lt;P&gt;                                     thashInput2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on tMap, do an inner join based on DG_1_Number to merge the columns from the main flow and lookup flow.&lt;/P&gt;&lt;P&gt;In order to generate one file for each row, use a tFlowToIterate to iterate each row, and you are able to access the current field value on tFIleOutputXML as file path, eg:&lt;/P&gt;&lt;P&gt;"D:/file/filename_"+(String)globalMap.get("out1.DG_1_Number ")+".xml"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFixedFlowInput: generate the current row, define the same schema as out1 from tMap, and configure the value in 'Use single table' model. eg;&lt;/P&gt;&lt;P&gt;column value&lt;/P&gt;&lt;P&gt;DG_1_Number out1.DG_1_Number &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try and let me know if you have any questions. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 04:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314788#M85522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-23T04:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314789#M85523</link>
      <description>&lt;P&gt;Image is not available&lt;/P&gt;&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;Thanks so much for your help, so on re-design, process is failing at the tFixedFlowInput. Not sure if I did something wrongly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcFnLAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134005i9802BA301E8DDD98/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcFnLAAV.png" alt="0693p00000AcFnLAAV.png" /&gt;&lt;/span&gt;Also, tMap inner join screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcFo4AAF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132532iBF8F3524EFC2FCE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcFo4AAF.png" alt="0693p00000AcFo4AAF.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error I get&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcFzRAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130928i612F73B90F0DD863/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcFzRAAV.png" alt="0693p00000AcFzRAAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314789#M85523</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-23T14:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314790#M85524</link>
      <description>&lt;P&gt;The expression in the value field is not right,  the right expression is: rowName.columnName, for example, in your case:&lt;/P&gt;&lt;P&gt;MainOut.DG_1_Number&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 02:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314790#M85524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-24T02:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314791#M85525</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help, So here is resultant output while comparing both .&lt;/P&gt;&lt;P&gt;First: The later: &lt;/P&gt;&lt;P&gt;With this I am getting more 20 tables being mapped for 2 files with one having 4 expected individual mapped files and the other file having just 2 expected files.&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcLWGAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148397iF514C5C6614265D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcLWGAA3.png" alt="0693p00000AcLWGAA3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcLWuAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135927i3CEA8F0781C6C589/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcLWuAAN.png" alt="0693p00000AcLWuAAN.png" /&gt;&lt;/span&gt;​&lt;/P&gt;&lt;P&gt;On the first process I had designed however,&lt;/P&gt;&lt;P&gt;The 2nd file is producing exactly the two expected output files as required, &lt;/P&gt;&lt;P&gt;but the first file in in the folder which has 4 expected outputs is producing 8 outputs which is wrong. The expected out put is supposed to be exactly 4. could this be an issue of the joins?  Thank you. &lt;/P&gt;&lt;P&gt;Michael.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcLWzAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133004i2A093D523B365CCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcLWzAAN.png" alt="0693p00000AcLWzAAN.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcLX4AAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130987i4ADF1C0CEC0D344F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcLX4AAN.png" alt="0693p00000AcLX4AAN.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 11:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314791#M85525</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-24T11:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314792#M85526</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;You are iterating multiple files, make sure  the 'Clean cache after reading' box is checked on tHashInput component to clean the data for the current file after it is reading. &lt;/P&gt;&lt;P&gt;I don't understand the job design in your first screenshot, I see you are using a tRunJob to call a child job, but you don't move the processing to child job as I suggested. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcOySAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157455i7F6433161225D4A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcOySAAV.png" alt="0693p00000AcOySAAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2020 03:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314792#M85526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-25T03:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with split-mapping xml file to template schema to produce multiple output xml files from a single file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314793#M85527</link>
      <description>&lt;P&gt;@Shicong Hong​&amp;nbsp;I sorted the issue. &lt;/P&gt;&lt;P&gt;This worked. In case of any comments, let me know and any adjustments you might recommend.&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcPPdAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157684iAE0A82581346DEED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcPPdAAN.png" alt="0693p00000AcPPdAAN.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcPPiAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127784i8FFCC46CE1BBA239/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcPPiAAN.png" alt="0693p00000AcPPiAAN.png" /&gt;&lt;/span&gt;Thought even though I passed the file path directly from the tFiles straight to the tFileInputXML_1 it seemed not have an effect. (ie. not having the main job) &lt;/P&gt;&lt;P&gt;Ohh the other thing is the file naming. This worked perfectly well. &lt;/P&gt;&lt;P&gt;"D:/Directory/FilesFolder"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+"_"+((String)globalMap.get("JoinedTable.DG1_1_Number"))+".xml"&lt;/P&gt;&lt;P&gt;The Output is just as expected. (Test3.xml_6.xml) is missing as that row (6) is also missing in the source file(Test3). The naming convention I believe is appropriate incase on expects to do traceback to source file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AcPPnAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132547iA3DBBC93C86A4C0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AcPPnAAN.png" alt="0693p00000AcPPnAAN.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Dec 2020 16:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-with-split-mapping-xml-file-to-template-schema-to-produce/m-p/2314793#M85527</guid>
      <dc:creator>MAnywar</dc:creator>
      <dc:date>2020-12-26T16:03:34Z</dc:date>
    </item>
  </channel>
</rss>

