<?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: How to convert SAS output to XML file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452854#M20803</link>
    <description>&lt;P&gt;What are you calling 'SAS output' and what do you mean by XML? Are you referring to the tagset version or a file that you want to open with Excel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 14:54:01 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-04-10T14:54:01Z</dc:date>
    <item>
      <title>How to convert SAS output to XML file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452846#M20802</link>
      <description>&lt;P&gt;I have sas output, but no data, Is it possible to convert the SAS output to XML?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 14:44:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452846#M20802</guid>
      <dc:creator>amypandit</dc:creator>
      <dc:date>2018-04-10T14:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert SAS output to XML file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452854#M20803</link>
      <description>&lt;P&gt;What are you calling 'SAS output' and what do you mean by XML? Are you referring to the tagset version or a file that you want to open with Excel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 14:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452854#M20803</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-10T14:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert SAS output to XML file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452855#M20804</link>
      <description>&lt;P&gt;I would like to convert SAS output (.lst) to XML?&amp;nbsp; any method is fine with me,&amp;nbsp; Is there a way?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 14:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452855#M20804</guid>
      <dc:creator>amypandit</dc:creator>
      <dc:date>2018-04-10T14:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert SAS output to XML file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452857#M20805</link>
      <description>&lt;P&gt;Not one that would have any decent structure. What is the end goal here? XML are structured output, LST files are designed for viewing/reporting.&amp;nbsp; ODS TAGSETS.EXCELXP generates a type of XML file but it looks like an Excel file. You can try that I suppose, and see if it meets your needs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.excelxp file='demo.xml' style=meadow;

proc print data=sashelp.cars(obs=10);
run;

proc print data=sashelp.class(obs=5);
run;

ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And then if you want a data set to an XML file you can use ODS XML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; libname newfile xml 'c:\_localdata\temp.xml'
           xmltype=export;
   data newfile.test;
      set sashelp.class;
   run;

   libname newfile;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-convert-SAS-output-to-XML-file/m-p/452857#M20805</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-10T15:07:10Z</dc:date>
    </item>
  </channel>
</rss>

