Dear all,
I would like to import an XML datafile into SAS.
Alongside this .xml file a .map file (XMLMap) was created to allow for correct data structure.
However, when executing the statement we run into an error.
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?
/*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;The error:
ERROR: PCDATA content found outside column/table boundary. content is >.
ERROR: Error in the LIBNAME statement.I cannot share the dataset itself since this data is not allowed to be public yet.
We appreciate any input, advice and guidance!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.