<?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 SAS table to XML which complies with this XSD in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-table-to-XML-which-complies-with-this-XSD/m-p/476126#M30909</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if there is a way to convert a SAS Dataset into an XML file which complies with the XSD provided by an organisation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a way on the web to convert a dataset into an xml file but it does not guaranty that the obtain XML file complies with the provided XSD file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore, imagine that I have a XSD file and a Dataset and that I would like to combine this information in order to obtain an XML file that fulfill the organisation standard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an expert who could help me with that issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2018 19:41:21 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2018-07-06T19:41:21Z</dc:date>
    <item>
      <title>SAS table to XML which complies with this XSD</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-table-to-XML-which-complies-with-this-XSD/m-p/476126#M30909</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if there is a way to convert a SAS Dataset into an XML file which complies with the XSD provided by an organisation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a way on the web to convert a dataset into an xml file but it does not guaranty that the obtain XML file complies with the provided XSD file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore, imagine that I have a XSD file and a Dataset and that I would like to combine this information in order to obtain an XML file that fulfill the organisation standard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an expert who could help me with that issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 19:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-table-to-XML-which-complies-with-this-XSD/m-p/476126#M30909</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2018-07-06T19:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS table to XML which complies with this XSD</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-table-to-XML-which-complies-with-this-XSD/m-p/476247#M30921</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76331"&gt;@alepage&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I believe you would need to use an XMLMAP in your libname statement to control&amp;nbsp;XML generation.&lt;/P&gt;
&lt;P&gt;You can use the XMLMapper to create such a map from an XSD.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/downloads/package.htm?pid=1278&amp;nbsp;" target="_blank"&gt;https://support.sas.com/downloads/package.htm?pid=1278&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't done more than a bit of "playing around" with this&amp;nbsp;but given that an XSD can describe much more than simple tables, I would expect that there are limits to what XSD's the XMLMapper can convert without manual intervention.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jul 2018 02:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-table-to-XML-which-complies-with-this-XSD/m-p/476247#M30921</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-07-08T02:53:37Z</dc:date>
    </item>
  </channel>
</rss>

