<?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 XML metadata and context in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-and-context/m-p/2414769#M140106</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a problem in Talend when I want to create matadata for xml files.&lt;BR /&gt;When I want to create a new XML metadata on input XML, I have to choose a file path and then, encoding is automatically generated.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_1-1707126164379.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159067i09F39EE6E2498AA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_1-1707126164379.png" alt="SophieB_1-1707126164379.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;On the next step, I can export my parameters as context. But if I want to create 10 differents xml files with the same filePath but different XPathQuery, I will have to create 10 contexts. So I can reuse an exististing context.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_2-1707126317277.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159068i33D2C5217F61402C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_2-1707126317277.png" alt="SophieB_2-1707126317277.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But If I use an existing context, there is a bug. I choose the field "path" and "encoding"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_3-1707126387598.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159069i32F2957560A52C3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_3-1707126387598.png" alt="SophieB_3-1707126387598.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When it's validated, the xPathQuery is ok. But not the file path nor the encoding which should be like "context.Encoding_utf8"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_5-1707126492080.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159071iF454F5C6071B0434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_5-1707126492080.png" alt="SophieB_5-1707126492080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_4-1707126428392.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159070i0B4E6ADA718E700B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_4-1707126428392.png" alt="SophieB_4-1707126428392.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How could I do that without having 10 differents contexts with 10 same encoding variable ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 10:18:12 GMT</pubDate>
    <dc:creator>SophieB</dc:creator>
    <dc:date>2024-02-05T10:18:12Z</dc:date>
    <item>
      <title>XML metadata and context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-and-context/m-p/2414769#M140106</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a problem in Talend when I want to create matadata for xml files.&lt;BR /&gt;When I want to create a new XML metadata on input XML, I have to choose a file path and then, encoding is automatically generated.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_1-1707126164379.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159067i09F39EE6E2498AA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_1-1707126164379.png" alt="SophieB_1-1707126164379.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;On the next step, I can export my parameters as context. But if I want to create 10 differents xml files with the same filePath but different XPathQuery, I will have to create 10 contexts. So I can reuse an exististing context.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_2-1707126317277.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159068i33D2C5217F61402C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_2-1707126317277.png" alt="SophieB_2-1707126317277.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But If I use an existing context, there is a bug. I choose the field "path" and "encoding"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_3-1707126387598.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159069i32F2957560A52C3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_3-1707126387598.png" alt="SophieB_3-1707126387598.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When it's validated, the xPathQuery is ok. But not the file path nor the encoding which should be like "context.Encoding_utf8"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_5-1707126492080.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159071iF454F5C6071B0434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_5-1707126492080.png" alt="SophieB_5-1707126492080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SophieB_4-1707126428392.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159070i0B4E6ADA718E700B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieB_4-1707126428392.png" alt="SophieB_4-1707126428392.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How could I do that without having 10 differents contexts with 10 same encoding variable ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 10:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-and-context/m-p/2414769#M140106</guid>
      <dc:creator>SophieB</dc:creator>
      <dc:date>2024-02-05T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: XML metadata and context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-metadata-and-context/m-p/2415298#M140123</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like a bug, I can reproduce the issue "using an existing context variable does not work for the file path and encoding fields in previous window". Please open a &lt;A href="https://jira.talendforge.org/secure/Dashboard.jspa" target="_self"&gt;Jira issue&lt;/A&gt; to R&amp;amp;D team for further investigation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-metadata-and-context/m-p/2415298#M140123</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-02-06T09:25:03Z</dc:date>
    </item>
  </channel>
</rss>

