To import an XML document as
a SAS data set, the following LIBNAME statement assigns a libref to
a specific XML document and specifies the XML engine:
libname myxml xml 'C:\My Files\XML\Students.xml';
Executing
the DATASETS procedure shows that SAS interprets the XML document
as a SAS data set:
proc datasets library=myxml;
DATASETS Procedure Output for MYXML Library
The PRINT procedure
results in the following output:
proc print data=myxml.students;
run;
PRINT Procedure Output for MYXML.STUDENTS