<?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 Looking for Example of Reading Spreadsheet from XML file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-Example-of-Reading-Spreadsheet-from-XML-file/m-p/151972#M29935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the past, I have created spreadsheets as .xml files, and then distributed them to appropriate individuals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have a need to read data from an archive of these .xml files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an example of SAS code to read spreadsheets from .xml files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2014 13:48:51 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2014-05-09T13:48:51Z</dc:date>
    <item>
      <title>Looking for Example of Reading Spreadsheet from XML file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-Example-of-Reading-Spreadsheet-from-XML-file/m-p/151972#M29935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the past, I have created spreadsheets as .xml files, and then distributed them to appropriate individuals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have a need to read data from an archive of these .xml files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an example of SAS code to read spreadsheets from .xml files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 13:48:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-Example-of-Reading-Spreadsheet-from-XML-file/m-p/151972#M29935</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-05-09T13:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for Example of Reading Spreadsheet from XML file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-Example-of-Reading-Spreadsheet-from-XML-file/m-p/151973#M29936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can get somewhere with this but I don't know much about details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start with this XML map &lt;A href="http://support.sas.com/kb/45/addl/fusion_45192_1_excelxp.map" title="http://support.sas.com/kb/45/addl/fusion_45192_1_excelxp.map"&gt;http://support.sas.com/kb/45/addl/fusion_45192_1_excelxp.map&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need a libname to point to the XML with with XMLMAP option pointing to the file in the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname MYXML xml "path-to-myxmlfile.xml" xmlmap="path-excelxp.map";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The try proc datasets or contents to see names of the objects in the library and work your way from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2014 12:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-Example-of-Reading-Spreadsheet-from-XML-file/m-p/151973#M29936</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-05-11T12:27:27Z</dc:date>
    </item>
  </channel>
</rss>

