<?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: Use tFileInputXML for reading ../process/&amp;lt;job&amp;gt;.item xml file? in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395534#M8122</link>
    <description>Thanks for the example. I'll try it. &lt;BR /&gt;Are the schemas (XSD) published some where?</description>
    <pubDate>Wed, 20 Dec 2006 17:44:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-12-20T17:44:55Z</dc:date>
    <item>
      <title>Use tFileInputXML for reading ../process/&lt;job&gt;.item xml file?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395532#M8120</link>
      <description>Hi,&lt;BR /&gt;I'm trying to use the new tFileInputXML component to read the &amp;lt;job&amp;gt;.item xml-file. So I can put the content of my transformation in database tables.&lt;BR /&gt;Can someone give me a short description how to use the tFileInputXML?</description>
      <pubDate>Sat, 16 Nov 2024 14:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395532#M8120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Use tFileInputXML for reading ../process/&lt;job&gt;.item xml file?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395533#M8121</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Can someone give me a short description how to use the tFileInputXML?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Sure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Let me give you an example. 
&lt;BR /&gt;My XML data is the following: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;areas&amp;gt;&lt;BR /&gt;  &amp;lt;area city="Paris"&amp;gt;&lt;BR /&gt;    &amp;lt;street district="2eme arrondissement"&amp;gt;Rue de la Paix&amp;lt;/street&amp;gt;&lt;BR /&gt;    &amp;lt;street district="8eme arrondissement"&amp;gt;Champs Elysees&amp;lt;/street&amp;gt;&lt;BR /&gt;  &amp;lt;/area&amp;gt;&lt;BR /&gt;  &amp;lt;area city="New York City"&amp;gt;&lt;BR /&gt;    &amp;lt;street district="Manhattan"&amp;gt;Madison avenue&amp;lt;/street&amp;gt;&lt;BR /&gt;    &amp;lt;street district="Brooklyn"&amp;gt;Washington heights&amp;lt;/street&amp;gt;&lt;BR /&gt;  &amp;lt;/area&amp;gt;&lt;BR /&gt;&amp;lt;/areas&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;1. create a new job with a tFileInputXML (tFIX) and a tLogRow. 
&lt;BR /&gt;2. link the 2 components with a "row &amp;gt; main" link 
&lt;BR /&gt;3. edit the schema of the tFIX, add 3 columns: name, district, city 
&lt;BR /&gt;4. set the filename of the tFIX 
&lt;BR /&gt;5. set the "Loop XPath query" to '/areas/area/street' 
&lt;BR /&gt;6. set the "Mapping column/XPath query" as follows: 
&lt;BR /&gt; 
&lt;PRE&gt;name      '.'&lt;BR /&gt;district  '@district'&lt;BR /&gt;city      '../@city'&lt;/PRE&gt; 
&lt;BR /&gt;7. run the job (F6), the output is: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Rue de la Paix|2eme arrondissement|Paris&lt;BR /&gt;Champs Elysees|8eme arrondissement|Paris&lt;BR /&gt;Madison avenue|Manhattan|New York City&lt;BR /&gt;Washington heights|Brooklyn|New York City&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 20 Dec 2006 07:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395533#M8121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-12-20T07:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use tFileInputXML for reading ../process/&lt;job&gt;.item xml file?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395534#M8122</link>
      <description>Thanks for the example. I'll try it. &lt;BR /&gt;Are the schemas (XSD) published some where?</description>
      <pubDate>Wed, 20 Dec 2006 17:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395534#M8122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-12-20T17:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use tFileInputXML for reading ../process/&lt;job&gt;.item xml file?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395535#M8123</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I'm trying to use the new tFileInputXML component to read the &amp;lt;job&amp;gt;.item xml-file&lt;BR /&gt;...&lt;BR /&gt;Are the schemas (XSD) published some where?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi,
&lt;BR /&gt;We use an XML serialisation provided by Ecore and based on 
&lt;B&gt;XMI&lt;/B&gt; (XML Metadata Interchange) v2 standard. XMI is an OMG standard for XML Serialization of MOF. Please see 
&lt;A href="http://www.omg.org/XMI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/XMI&lt;/A&gt; for more information about this XML standard.
&lt;BR /&gt;MOF (Meta-Object Facility 
&lt;A href="http://www.omg.org/mof/)" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/mof/)&lt;/A&gt; is a subset of UML (class modeling concept) and is very close to Ecore.
&lt;BR /&gt;You can find the xsd on 
&lt;B&gt;&amp;lt;TOSDirectory&amp;gt;/plugins/org.talend.model_1.1.0.M3_r1021/model&lt;BR /&gt;/resource/org.talend.model/model/TalendFile.xsd&lt;/B&gt;
&lt;BR /&gt;
&lt;BR /&gt;Lots of interesting stuffs are in this directory. For example, the model (ecore), please see the ecore model on &amp;lt;TOSDirectory&amp;gt;/plugins/org.talend.model_1.1.0.M3_r1021/model
&lt;BR /&gt;/resource/org.talend.model/model/TalendFile.ecore
&lt;BR /&gt;
&lt;I&gt;XMI, MOF, UML, GMF, EMF, Ecore... are concepts used for the Talend MDA (Model Driven Architecture).&lt;/I&gt;</description>
      <pubDate>Wed, 20 Dec 2006 19:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395535#M8123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-12-20T19:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Use tFileInputXML for reading ../process/&lt;job&gt;.item xml file?</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395536#M8124</link>
      <description>Hi,&lt;BR /&gt;Thanks for the info on the XSD schemas. I've succeeded in reading the XML files with the help of your example.&lt;BR /&gt;I want to pull the info in the XML-repository in a PostgreSQL database and see if I can do some lineage reporting over the ETL jobs in Talend.&lt;BR /&gt;When I succeed in the lineage stuuf, then I'll post it on the forum.</description>
      <pubDate>Thu, 21 Dec 2006 09:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Use-tFileInputXML-for-reading-process-lt-job-gt-item-xml-file/m-p/2395536#M8124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-12-21T09:09:03Z</dc:date>
    </item>
  </channel>
</rss>

