<?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 xml to xls with SAS ods in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33933#M4910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am outputting a SAS dataset to a multi-worksheet xml file using excelxp tagsets.&amp;nbsp; I had been trying to produce an excel report using proc report but this became too unweildy due to formatting issues. I have another blank workbook that will have a template in it (ie. the headers and gridlines) for the report, and will have links in it to the output of the SAS program which is in xml.&amp;nbsp; This will solve the difficulty of formatting everything with proc report; for now I am just using proc print to output to the xml file.&amp;nbsp; The problem is that I can't create references in excel workbooks to xml files like I can to other excel workbooks.&amp;nbsp; Is there a way in SAS automatically to save the xml output into an xls file?&amp;nbsp; I may just end up using ods html to produce individual workbooks out of each sheet since these can be directly made into excel files.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2012 22:31:42 GMT</pubDate>
    <dc:creator>SamA</dc:creator>
    <dc:date>2012-01-19T22:31:42Z</dc:date>
    <item>
      <title>xml to xls with SAS ods</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33933#M4910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am outputting a SAS dataset to a multi-worksheet xml file using excelxp tagsets.&amp;nbsp; I had been trying to produce an excel report using proc report but this became too unweildy due to formatting issues. I have another blank workbook that will have a template in it (ie. the headers and gridlines) for the report, and will have links in it to the output of the SAS program which is in xml.&amp;nbsp; This will solve the difficulty of formatting everything with proc report; for now I am just using proc print to output to the xml file.&amp;nbsp; The problem is that I can't create references in excel workbooks to xml files like I can to other excel workbooks.&amp;nbsp; Is there a way in SAS automatically to save the xml output into an xls file?&amp;nbsp; I may just end up using ods html to produce individual workbooks out of each sheet since these can be directly made into excel files.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 22:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33933#M4910</guid>
      <dc:creator>SamA</dc:creator>
      <dc:date>2012-01-19T22:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: xml to xls with SAS ods</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33934#M4911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convert to XLS file with SAS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming you're on windows of course. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code sample from SAS that does it.&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;And if all else fails there's DDE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/43/496.html"&gt;http://support.sas.com/kb/43/496.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 22:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33934#M4911</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-01-19T22:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: xml to xls with SAS ods</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33935#M4912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;Actually I am using SAS through linux, but I do have windows on my machine too.&amp;nbsp; I assume all I have to do is change the default and store parameters to linux directories?&amp;nbsp; For example, the default parameter could by %STR(/home/mydir/)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 22:45:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33935#M4912</guid>
      <dc:creator>SamA</dc:creator>
      <dc:date>2012-01-19T22:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: xml to xls with SAS ods</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33936#M4913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a VBScript so I think it needs actual windows to run properly, you'd need to run it on your machine somehow, but then you might as well open and re-save the file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's just 'plain' data, ie no formatting, why not export to excel using libname and excel statements, if you can do that on linux (not familiar with that system at all).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname test excel 'C:\temp.xls';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test.one;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test.two;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname test;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 23:53:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33936#M4913</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-01-19T23:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: xml to xls with SAS ods</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33937#M4914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; And it doesn't work if you are Using EG and a workspace server - there is a usage note about this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/44/927.html"&gt;http://support.sas.com/kb/44/927.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 02:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xml-to-xls-with-SAS-ods/m-p/33937#M4914</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2012-01-20T02:51:56Z</dc:date>
    </item>
  </channel>
</rss>

