<?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: Reading/Writing XML files from web to SAS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/586477#M14500</link>
    <description>PROC HTTP will copy the data, then you read it. If for whatever reason you cannot use PROC HTTP you can try using X commands. If that's enabled just use your OS to grab the file and then process with SAS.</description>
    <pubDate>Thu, 05 Sep 2019 16:55:47 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-09-05T16:55:47Z</dc:date>
    <item>
      <title>Reading/Writing XML files from web to SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/584583#M14201</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS XML, and trying to read xml file from web url. I am not sure whether i am following the correct process.Could you please help me to understand the step by step process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 14:39:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/584583#M14201</guid>
      <dc:creator>sowmya01</dc:creator>
      <dc:date>2019-08-28T14:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reading/Writing XML files from web to SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/584605#M14202</link>
      <description>You could read some documentation about sas and xml.&lt;BR /&gt;Ex.: &lt;A href="http://support.sas.com/rnd/base/xmlengine/" target="_blank"&gt;http://support.sas.com/rnd/base/xmlengine/&lt;/A&gt;, &lt;A href="https://blogs.sas.com/content/sasdummy/2019/04/11/read-rss-feeds/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2019/04/11/read-rss-feeds/&lt;/A&gt;,&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/nesug/nesug10/ff/ff14.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug10/ff/ff14.pdf&lt;/A&gt;, &lt;A href="https://support.sas.com/resources/papers/proceedings15/SAS1871-2015.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings15/SAS1871-2015.pdf&lt;/A&gt; &amp;amp; &lt;A href="https://www.lexjansen.com/mwsug/2011/sas101/MWSUG-2011-S107.pdf" target="_blank"&gt;https://www.lexjansen.com/mwsug/2011/sas101/MWSUG-2011-S107.pdf&lt;/A&gt;&lt;BR /&gt;You can download the latest version of the SAS XML Mapper here: &lt;A href="https://support.sas.com/downloads/package.htm?pid=2288" target="_blank"&gt;https://support.sas.com/downloads/package.htm?pid=2288&lt;/A&gt;</description>
      <pubDate>Wed, 28 Aug 2019 15:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/584605#M14202</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2019-08-28T15:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reading/Writing XML files from web to SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/584613#M14205</link>
      <description>&lt;P&gt;Have you tried this approach?&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/38/053.html" target="_blank"&gt;http://support.sas.com/kb/38/053.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename test url 'http://support.sas.com/rnd/base/ods/templateFAQ/temp.xml';
libname test xml;

proc copy in=test out=work; 
run;

proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212752"&gt;@sowmya01&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to SAS XML, and trying to read xml file from web url. I am not sure whether i am following the correct process.Could you please help me to understand the step by step process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 15:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/584613#M14205</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-28T15:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading/Writing XML files from web to SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/586399#M14471</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried running the sample code and I have got the below error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The connection has timed out..&lt;/P&gt;&lt;P&gt;ERROR: Encountered during XMLMap parsing at or near line 1, column 1.&lt;/P&gt;&lt;P&gt;ERROR: XML describe error: Internal processing error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The XML file will be placed in SFTP location with encrypted format hence it is not recommended to use&amp;nbsp;&amp;nbsp;FTP(it may corrupt ).When I tried using the below code, SSLPARMS is appearing as red it is not supported for M2 I believe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc http&lt;BR /&gt;&amp;nbsp; in= "*************testing prochttp****************"&lt;BR /&gt;&amp;nbsp; method="POST"&lt;BR /&gt;&amp;nbsp; url="***";&lt;BR /&gt;&amp;nbsp; sslparms&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sslcertiss="Glenn's CA"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sslcertserial="0a1dcfa3000000000015"&lt;BR /&gt;&amp;nbsp; ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me&amp;nbsp; know something that capable for M2 version.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 12:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/586399#M14471</guid>
      <dc:creator>sowmya01</dc:creator>
      <dc:date>2019-09-05T12:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading/Writing XML files from web to SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/586459#M14498</link>
      <description>&lt;P&gt;I don't think the XML engine can work with streaming data. You will probably need to introduce a step to first copy the XML to a physical file.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 16:23:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/586459#M14498</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-09-05T16:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reading/Writing XML files from web to SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/586477#M14500</link>
      <description>PROC HTTP will copy the data, then you read it. If for whatever reason you cannot use PROC HTTP you can try using X commands. If that's enabled just use your OS to grab the file and then process with SAS.</description>
      <pubDate>Thu, 05 Sep 2019 16:55:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Reading-Writing-XML-files-from-web-to-SAS/m-p/586477#M14500</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-05T16:55:47Z</dc:date>
    </item>
  </channel>
</rss>

