<?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 Is it possible to convert SAS Datasets to XML? in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Is-it-possible-to-convert-SAS-Datasets-to-XML/m-p/6132#M105</link>
    <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
I would like to know as how to convert SAS datasets to XML  with SAS 8.2. Ist it possible with 8.2 or I need to have a XML engine?&lt;BR /&gt;
Can someone give out the solution.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Priya</description>
    <pubDate>Fri, 04 Jan 2008 15:37:35 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-01-04T15:37:35Z</dc:date>
    <item>
      <title>Is it possible to convert SAS Datasets to XML?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Is-it-possible-to-convert-SAS-Datasets-to-XML/m-p/6132#M105</link>
      <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
I would like to know as how to convert SAS datasets to XML  with SAS 8.2. Ist it possible with 8.2 or I need to have a XML engine?&lt;BR /&gt;
Can someone give out the solution.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Priya</description>
      <pubDate>Fri, 04 Jan 2008 15:37:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Is-it-possible-to-convert-SAS-Datasets-to-XML/m-p/6132#M105</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-04T15:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to convert SAS Datasets to XML?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Is-it-possible-to-convert-SAS-Datasets-to-XML/m-p/6133#M106</link>
      <description>the best solution is to upgrade to SAS9&lt;BR /&gt;
&lt;BR /&gt;
the simplest solution works like:[pre]&lt;BR /&gt;
libname yourxm xml 'your.xml' ;&lt;BR /&gt;
proc copy in= sashelp out= yourxm mt= data;&lt;BR /&gt;
   select class ;&lt;BR /&gt;
run;&lt;BR /&gt;
libname yourxm clear ;[/pre]&lt;BR /&gt;
You could create your data set directly in the xml library, but it seems more normal, to just copy them from wherever. For that, proc copy seems simplest.&lt;BR /&gt;
&lt;BR /&gt;
The XML engine delivered with SAS8.2 is a bit basic, but exists. There is an improved version available for download from the &lt;A href="http://support.sas.com/index.html" target="_blank"&gt;http://support.sas.com/index.html&lt;/A&gt;  website. (but that isn't the simplest solution, nor the "best" &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Fri, 04 Jan 2008 16:30:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Is-it-possible-to-convert-SAS-Datasets-to-XML/m-p/6133#M106</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-04T16:30:48Z</dc:date>
    </item>
  </channel>
</rss>

