<?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 XML import with XMLMAp error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/XML-import-with-XMLMAp-error/m-p/725834#M225526</link>
    <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to import an XML datafile into SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alongside this .xml file a .map file (XMLMap) was created to allow for correct data structure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when executing the statement we run into an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't have any clue on where to start looking for the error, i.e. in the XML file or the XMLMap. Could somebody point us to where the error would most likely be? Or even what it actually is telling us?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*USE XMLMAP AND XMLV2 ENGINE TO IMPORT DOCUMENTS*/

filename out 'E:\data.xml';
filename map 'E:\data.map';
libname out xmlv2 xmlmap=map xmlprocess=permit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: PCDATA content found outside column/table boundary. content is &amp;gt;.

ERROR: Error in the LIBNAME statement.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I cannot share the dataset itself since this data is not allowed to be public yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We appreciate any input, advice and guidance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Mar 2021 16:52:05 GMT</pubDate>
    <dc:creator>sidello</dc:creator>
    <dc:date>2021-03-12T16:52:05Z</dc:date>
    <item>
      <title>XML import with XMLMAp error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-import-with-XMLMAp-error/m-p/725834#M225526</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to import an XML datafile into SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alongside this .xml file a .map file (XMLMap) was created to allow for correct data structure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when executing the statement we run into an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't have any clue on where to start looking for the error, i.e. in the XML file or the XMLMap. Could somebody point us to where the error would most likely be? Or even what it actually is telling us?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*USE XMLMAP AND XMLV2 ENGINE TO IMPORT DOCUMENTS*/

filename out 'E:\data.xml';
filename map 'E:\data.map';
libname out xmlv2 xmlmap=map xmlprocess=permit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: PCDATA content found outside column/table boundary. content is &amp;gt;.

ERROR: Error in the LIBNAME statement.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I cannot share the dataset itself since this data is not allowed to be public yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We appreciate any input, advice and guidance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 16:52:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-import-with-XMLMAp-error/m-p/725834#M225526</guid>
      <dc:creator>sidello</dc:creator>
      <dc:date>2021-03-12T16:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: XML import with XMLMAp error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-import-with-XMLMAp-error/m-p/725861#M225540</link>
      <description>I assume the error is in the map file.&lt;BR /&gt;Can you share the map file?&lt;BR /&gt;&lt;BR /&gt;Best regards, Jos</description>
      <pubDate>Fri, 12 Mar 2021 18:17:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-import-with-XMLMAp-error/m-p/725861#M225540</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2021-03-12T18:17:15Z</dc:date>
    </item>
  </channel>
</rss>

