Using the LIBNAME Statement

For the XML engine, the LIBNAME statement associates a SAS libref with either a SAS library that stores XML documents or a specific XML document in order to import or export an XML document.
For basic examples, see Importing XML Documents and Exporting XML Documents.