Creating Markup Language Files Using ODS Markup, SAS XML LIBNAME Engine, and the TEMPLATE Procedure
(Live Web)
Duration: 3
half-day sessions
Please note the System Requirements below.
Course fee:
EPTO units: .
CEUs: 0.9
| |
Register now |
This course teaches you how to create and read XML and other markup language files in SAS.
Learn how to
- create XML output and other markup output with the Output Delivery System (ODS)
- read XML files with the SAS XML LIBNAME Engine or the XML Mapper
- write XML files using the SAS XML LIBNAME Engine
- customize ODS and SXLE output using the TEMPLATE procedure.
Who should attend
SAS programmers
Expand All
Collapse All
Print version
Prerequisites
Before selecting this course, you should be able to
- submit SAS programs on your operating system
- understand how to access SAS files using the LIBNAME statement and identify external files using fully qualified pathnames, such as in the FILENAME statement
- create SAS output
- use the basic features of Base SAS procedures.
You can obtain this SAS experience by completing the
SAS Programming I: Essentials course. Students are also expected to have a working knowledge of HTML, XML, and related markup concepts that can be obtained from various publications, Web sites, and/or third-party training programs.
Course Contents
Creating XML Output with ODS
- introduction to ODS XML
- using ODS Markup to write XML files
Creating HTML and CSV Files with ODS Markup
- creating HTML and related files
- creating CSV and related files
Creating Other Files with ODS Markup
- creating other output types
- customizing output with tagsets
Using the SAS XML LIBNAME Engine to Create XML Files
- introduction to the SAS XML LIBNAME Engine
- using the SAS XML LIBNAME Engine to write XML files
- customizing the SAS XML LIBNAME Engine with options
- customizing the SAS XML LIBNAME Engine with tagsets
Using the SAS XML LIBNAME Engine to Read XML Files
- reading standard XML files
- using the XMLMAP= option to read other files
- XMLMap syntax
- using SAS XML Mapper
ODS Tagsets and Events
- how ODS creates markup output
- understanding tagsets, events, and variables
- PROC TEMPLATE tagset syntax
Using Diagnostic Tagsets
- introducing diagnostic tagsets
- using EVENT_MAP
Customizing Tagsets with the TEMPLATE Procedure
- modifying a tagset
- inheriting from a parent tagset
- creating your own tagset
Software
This course addresses Base SAS. This course also addresses the SAS XML Mapper.
Course Materials
Students attend Live Web classes using a Web browser and a telephone and interact with
their instructor and fellow classmates in real time. Each student receives an e-mail
with instructions on how to join the class three business days before the class begins.
The instructions e-mail includes a link to download the course materials.
Students need to download and print the course materials prior to class.
System Requirements
For Live Web, you must
- review and follow the general system requirements.
- complete the course exercises through our virtual lab. The virtual lab
allows you to access the software used in class over the Internet, so
that you do not need this software on your local machine.
- run this
test to connect to a virtual lab session. If firewall problems prevent you from connecting to the virtual lab, then you will need the following software installed and configured in your environment to participate in the course exercises:
- Base SAS 9.1 under a Windows operating system.
Important:
- If you are running Base SAS 8.2 under a Windows operating system, you can
also participate in this class. However, please be aware that some tagsets
demonstrated in this class are only available in SAS 9. Also, be aware that
the syntax for XMLMap and the TEMPLATE procedure were enhanced in SAS. This
course covers the SAS 9 syntax only.
- If you are using Enterprise Guide rather than writing SAS programs in the Enhanced Editor, this class is not an appropriate offering.
Share Your Thoughts
Are there additional classes or topics you would like to see as Live Web classes?
Let us know by adding to our
Interest List.
This page was created using SAS software.