Using the Output Delivery System to Create XML Files
Role
SAS Programmer
Duration
1 day
Description
This course teaches you how to create XML files from SAS data sets and procedure output. The course compares the SAS XML Libname Engine for output to the ODS XML statement. The course focuses on the new ODS MARKUP statement to create various XML and related tagsets. Delegates will gain experience modifying existing tagsets and creating custom tagsets using the TEMPLATE procedure.
Prerequisites
Before attending this course, you should have: An understanding of base SAS and the basic concepts of the Output Delivery System. You can gain this knowledge by completing the SAS Essentials: An Introduction to SAS Programming and Creating Detail and Summary Reports courses. You should also be familiar with XML concepts and style sheets.
SAS Modules Used
Base SAS
Course Topics
Basics of XML:
- Using XML and Cascading Style Sheets
- Using XML and extensible style sheets
- Using XML and document type definitions (DTDs)
SAS and XML:
- Using the XML Libname Engine
- Creating default XML output with ODS
- Reading a non-standard XML file into a SAS data set using XMLMap
Using the ODS MARKUP Statement:
- Using the TYPE= option
- Creating comma-separated files
Using ODS to Create XML Files:
- Using ODS to create XML-related files
- Creating other XML-related files (pyx, LaTeX, troff)
- Using additional ODS features
Objectives
After attending this course you will be able to: Create XML files from SAS data sets and procedure outputs. You will also gain experience of using the new ODS MARKUP statement to create various XML and related tagsets such as WML, CHTML, CSV and LaTeX.