BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
MariaD
Barite | Level 11

Hi folks,

 

I'm trying to import an XML file. My first attempt was using xmlv2 engine but the following error appear:

 

XML data is not in a format supported natively by the XML libname engines. 

 

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?

 

Regards. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
MariaD
Barite | Level 11

Thanks, finally I resolved using the option automap=replace with xmlv2 engine.

 

Regards,  

View solution in original post

2 REPLIES 2
ballardw
Super User

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,  data step and or Proc statements. Copy the text from the LOG and then on the forum open a text box using the </> 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.

 

 

MariaD
Barite | Level 11

Thanks, finally I resolved using the option automap=replace with xmlv2 engine.

 

Regards,  

SAS Innovate 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 942 views
  • 1 like
  • 2 in conversation