<?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 import html files into sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484616#M125825</link>
    <description>&lt;P&gt;Read the linked post. HyperText Markup Language is designed for all kinds of text, while SAS works with tabular data. So you need to find the &amp;lt;TABLE&amp;gt; &amp;lt;/TABLE&amp;gt; part that is of interest to you, and then read the tagged TD fields into variables, where TR signals the start and /TR the end if a row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bottom line, there is no simple way to do it. html files are not suited for data import.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 05:00:52 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-08-07T05:00:52Z</dc:date>
    <item>
      <title>how to import html files into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484597#M125819</link>
      <description />
      <pubDate>Tue, 07 Aug 2018 02:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484597#M125819</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-08-07T02:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to import html files into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484599#M125820</link>
      <description>&lt;P&gt;There is a similar post in sas communities, hope it helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Read-htm-files-into-SAS-dataset/td-p/10774" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Read-htm-files-into-SAS-dataset/td-p/10774&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 02:28:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484599#M125820</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-08-07T02:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to import html files into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484602#M125821</link>
      <description>sorry,it doesn't give full clarity to me.&lt;BR /&gt;I exported sashelp.class data set as html file by using ods option. Now&lt;BR /&gt;how to get that html file into sas as a data set ?</description>
      <pubDate>Tue, 07 Aug 2018 02:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484602#M125821</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-08-07T02:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to import html files into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484615#M125824</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209685"&gt;@thanikondharish&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;sorry,it doesn't give full clarity to me.&lt;BR /&gt;I exported sashelp.class data set as html file by using ods option. Now&lt;BR /&gt;how to get that html file into sas as a data set ?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Don't do that.&amp;nbsp; HTML files are a DISPLAY format, not a data storage format.&lt;/P&gt;
&lt;P&gt;If you want to put data into a text file then make a CSV file. Or if you want to use a lot of extra disk space, but have a way to store at least some metadata about the data, then an XML file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have an HTML file with a table then copy the table and paste it into an Excel sheet.&amp;nbsp; Excel is pretty good at converting HTML tables into cells in a spreadsheet.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 04:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484615#M125824</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-08-07T04:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to import html files into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484616#M125825</link>
      <description>&lt;P&gt;Read the linked post. HyperText Markup Language is designed for all kinds of text, while SAS works with tabular data. So you need to find the &amp;lt;TABLE&amp;gt; &amp;lt;/TABLE&amp;gt; part that is of interest to you, and then read the tagged TD fields into variables, where TR signals the start and /TR the end if a row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bottom line, there is no simple way to do it. html files are not suited for data import.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 05:00:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-html-files-into-sas/m-p/484616#M125825</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-07T05:00:52Z</dc:date>
    </item>
  </channel>
</rss>

