<?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: Import Xml file into SAS dataset (v9.1.3) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112293#M23227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ! That's a great help! I thought that the SAS XMLMapper tool was available only since v9.2.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Violaine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 15:31:06 GMT</pubDate>
    <dc:creator>hetuvio</dc:creator>
    <dc:date>2012-09-05T15:31:06Z</dc:date>
    <item>
      <title>Import Xml file into SAS dataset (v9.1.3)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112289#M23223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to import an xml file into a SAS dataset. I have the corresponding XSL stylesheet. How can I proceed (I'm working on SAS v9.1.3) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tried the 2 following options which do not work :&lt;/P&gt;&lt;P&gt;option A : &lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;giftxml xml &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"C:\myxmlfile.odm.xml"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;; --&amp;gt; I got an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;option B :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;proc &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;xsl&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt; in = &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: purple; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;"C:\myxmlfile.odm.xml"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsl=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: purple; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;"C:\myxslfile.xsl"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: purple; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;"C:\myoutfile.xml"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone could help me to solve this issue please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Violaine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 13:21:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112289#M23223</guid>
      <dc:creator>hetuvio</dc:creator>
      <dc:date>2012-09-05T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import Xml file into SAS dataset (v9.1.3)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112290#M23224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the XSL procedure is at an experimental stage on 9.1.3, you have to be more precise about the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If by any means you manage to setup your own xmlmap, it's pretty much like this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/engxml/62845/HTML/default/viewer.htm#a002484891.htm"&gt;http://support.sas.com/documentation/cdl/en/engxml/62845/HTML/default/viewer.htm#a002484891.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers from Portugal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 13:54:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112290#M23224</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2012-09-05T13:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import Xml file into SAS dataset (v9.1.3)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112291#M23225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your answer.&lt;/P&gt;&lt;P&gt;This is the issue I get : "&lt;EM&gt;ERROR : XML describe error : XML data is not in a format supported natively by the XML libname engine. Files of this type usually require an XMLMap to be input properly&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll loot at the link you provided. I'm afraid that there are no other way to import XML file into SAS datasets, except : coding my own map file, am I right ? I'll have to look deep inside the coding of the .map file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Violaine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 14:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112291#M23225</guid>
      <dc:creator>hetuvio</dc:creator>
      <dc:date>2012-09-05T14:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Import Xml file into SAS dataset (v9.1.3)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112292#M23226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's actually pretty easy to do, no need for coding if you have the XMLMapper tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Available here (at no cost, btw):&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/demosdownloads/setupcat.jsp?cat=Base+SAS+Software" title="http://support.sas.com/demosdownloads/setupcat.jsp?cat=Base+SAS+Software"&gt;http://support.sas.com/demosdownloads/setupcat.jsp?cat=Base+SAS+Software&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers from Portugal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: You can download and install de 9.2 version, It's a standalone tool and you'll be fine with that. That's the one we're using here to create the maps with the SAS 9.1.3. realease.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 14:11:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112292#M23226</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2012-09-05T14:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Import Xml file into SAS dataset (v9.1.3)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112293#M23227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ! That's a great help! I thought that the SAS XMLMapper tool was available only since v9.2.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Violaine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 15:31:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Xml-file-into-SAS-dataset-v9-1-3/m-p/112293#M23227</guid>
      <dc:creator>hetuvio</dc:creator>
      <dc:date>2012-09-05T15:31:06Z</dc:date>
    </item>
  </channel>
</rss>

