<?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 XSD use and mapping in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210109#M8673</link>
    <description>I'm trying to use a xsd for HL7 Clinical Document Architecture (CDA) (as a canonical data model.)
&lt;BR /&gt;I need to map the values from the csv file to the CDA xsd
&lt;BR /&gt;I have already set up the csv file in Talend but can anyone help me with how to import, use and map a xsd with Talend? 
&lt;BR /&gt;Thanks</description>
    <pubDate>Sat, 16 Nov 2024 11:44:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:44:10Z</dc:date>
    <item>
      <title>XSD use and mapping</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210109#M8673</link>
      <description>I'm trying to use a xsd for HL7 Clinical Document Architecture (CDA) (as a canonical data model.)
&lt;BR /&gt;I need to map the values from the csv file to the CDA xsd
&lt;BR /&gt;I have already set up the csv file in Talend but can anyone help me with how to import, use and map a xsd with Talend? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 11:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210109#M8673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: XSD use and mapping</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210110#M8674</link>
      <description>I may not have understood your request - but you might want to do the following: &lt;BR /&gt;To to Metadata --&amp;gt; File XML --&amp;gt; Right Click select Create file XML -- &amp;gt;..... Select your XSD as Input File ---&amp;gt; Build your definition by defining the XPath Loop and fields to extract that will match your CSV.&lt;BR /&gt;Once you specify this schema, you can bring it into a tFileInputXML.</description>
      <pubDate>Fri, 28 Feb 2014 20:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210110#M8674</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-02-28T20:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: XSD use and mapping</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210111#M8675</link>
      <description>It sounds as though you're trying to write out an HL7 file, if this is the case you can use the tHL7Output component to create an HL7 2.X compliant document.  The component is either available through a search for tHL7Output or via the palette under Unstructured -&amp;gt; HL7.  Hope that answers your question.</description>
      <pubDate>Fri, 28 Feb 2014 21:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210111#M8675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T21:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: XSD use and mapping</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210112#M8676</link>
      <description>Thank you for the feedback. What I'm trying to do is map from a csv file to an xml with xsd definition and then map from the xsd to a outpufile. When I run the test my xsd is overwritten and the produced xml does not comply with the xml schema. Any tips ?
&lt;BR /&gt;Why do I have to define the xsd format as input or output? I need it as a canonical model in the middle of my bus.
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 01 Mar 2014 20:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210112#M8676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-01T20:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: XSD use and mapping</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210113#M8677</link>
      <description>It appears some features of HL7 components are available only in the Enterprise version - 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCoVjCAK" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/HL7-schema-from-repository/td-p/95076&lt;/A&gt; You've not indicated why you can't the HL7 component. 
&lt;BR /&gt;The HL7 Output component is similar to the tFileOutputMSXML component. Assuming your csv file generates a bunch of fields, I'd connect that data flow to a tFileOutputMSXML component. As shown in the image, I imported the XSD that I created from this sample XML on the web - 
&lt;A href="http://www.w3.org/TR/grddl-primer/hl7-sample.xml" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/TR/grddl-primer/hl7-sample.xml&lt;/A&gt; And from the left, you'd need to map your fields to the output on the right. What is very important in either of these components is setting the right loop and group elements. See this Help Article on how to use this component. 
&lt;A href="https://help.talend.com/search/all?query=tFileOutputMSXML&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tFileOutputMSXML&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;Unfortunately, when working with XML files, there's hardly an out of the box solution for every case - even for standard file formats. It'd be good if you can get familiar with your file format and understand the hierarchy (or hierarchies - if it's multiple schemas in one, meaning it has more than one 1: many relationships). 
&lt;BR /&gt;Hope this helps... 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCus.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157773i442C880233038A39/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCus.png" alt="0683p000009MCus.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 03 Mar 2014 16:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XSD-use-and-mapping/m-p/2210113#M8677</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-03-03T16:03:55Z</dc:date>
    </item>
  </channel>
</rss>

