<?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 Import XML file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-XML-file/m-p/850101#M335999</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to import an XML file. My first attempt was using xmlv2 engine but the following error appear:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;XML data is not in a format supported natively by the XML libname engines.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, I tried to import it using xml engine. In this case, the libname is created and I can see the tables inside but all data appear as null/missing. I don't have xmlmap, I only have a xsd file. Any idea?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 15:57:43 GMT</pubDate>
    <dc:creator>MariaD</dc:creator>
    <dc:date>2022-12-16T15:57:43Z</dc:date>
    <item>
      <title>Import XML file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-XML-file/m-p/850101#M335999</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to import an XML file. My first attempt was using xmlv2 engine but the following error appear:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;XML data is not in a format supported natively by the XML libname engines.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, I tried to import it using xml engine. In this case, the libname is created and I can see the tables inside but all data appear as null/missing. I don't have xmlmap, I only have a xsd file. Any idea?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 15:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-XML-file/m-p/850101#M335999</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2022-12-16T15:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Import XML file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-XML-file/m-p/850115#M336005</link>
      <description>&lt;P&gt;Pretty much any time you get an error or unexpected results you should copy the entire log steps related to the question, such as filename, libname,&amp;nbsp; data step and or Proc statements. Copy the text from the LOG and then on the forum open a text box using the &amp;lt;/&amp;gt; icon and paste the copied text. The text box preserves formatting of any information SAS provides. The main message windows will reformat text and may move or make parts of the messages less informative.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 17:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-XML-file/m-p/850115#M336005</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-12-16T17:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import XML file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-XML-file/m-p/850123#M336010</link>
      <description>&lt;P&gt;Thanks, finally I resolved using the option automap=replace with xmlv2 engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 18:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-XML-file/m-p/850123#M336010</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2022-12-16T18:10:23Z</dc:date>
    </item>
  </channel>
</rss>

