Hot Topics

Related Links

Return to ODS

Base SAS

ODS MARKUP Resources

Whenever SAS R&D issues new or updated tagsets between releases, they are available for download below, under How to Download Tagsets.

General Resources

ODS MARKUP Statement
This is the reference to the ODS MARKUP statement.

TEMPLATE Procedure: Creating Markup Language Tagsets | Examples (.zip)
This is an introduction and reference to the using tagset language to create your own custom tagset.

Emacs Mode for Editing Tagsets
If you use emacs you'll know what this is.

SAS Notes and Concepts for ODS
These are compiled by Technical Support and developers. See the section for XML and MARKUP.

How to Copy and Modify Tagsets

See TEMPLATE Procedure: Creating Markup Language Tagsets

How to Install New Tagsets

See Note 32394: Installing and Storing Updated Tagsets.

How to Download Tagsets

If you find that the tagsets that ship with SAS don't meet your needs, try these. Or use these as examples to create your own. For help with downloading, see Note 32394: Installing and Storing Updated Tagsets.

Previous releases:
CSV, CSVALL, CSVBYLINE (updated September 2011)
This update to the SAS 9.1.3 tagset has enhanced features and performance over the released version.

After you install, submit the following code for details about the tagset:
ODS CSV file="test.csv" options(doc="help");

ExcelXP (04/23/2015, version 1.131)
See the quick reference to options and change log for the tagset and the ODS Excel XP tip sheet. Output from the ExcelXP tagset works with Microsoft Excel as well as the Calc spreadsheet program from

After you install, submit the following code for details about the tagset, including the current version number:
ODS tagsets.excelxp file="test.xml" options(doc="help");

Previous versions of the ExcelXP tagset are available:

See ExcelXP samples in these papers and presentations:

HTML with graph bars (.zip) (May 2006)
This tagset was originally included as a part of the "SAS Reports of Your Dreams" paper. This is an update that works with Proc Report. Tell the tagset which table columns should be graph bars and you'll get a more visual indicator of their values. New in this version is image-based slidebars. This automatically works with percentage values. It takes an optional maximum value to make it work with non-percentage values. It also works with negative number ranges. The SAS job includes the tagset, a style, and a simple example.

This SAS 9.1 tagset automatically creates panels for BY-grouped graphs. It also has controls for semi-automatic and manually controlled paneling. This tagset makes it easy to put graphs and tables side-by-side on a page. Also included are controls for titles, footnotes, and BY lines. Combine this tagset with the htmlscroll tagset for a truly powerful combination.

This SAS 9.1 tagset enables tables to be scrollable. The scrolling is actually done with JavaScript. This tagset adds the JavaScript and necessary infrastructure to the standard HTML4 tagset.

The jQueryMobile tagset is an HTML5 tagset that emulates the HTML needed to create a page using the jQuery Mobile framework, which enables you to build web pages that are designed for mobile devices.

LaTeX (preproduction)
The SAS 9.1 LaTeX tagsets are quite versatile and enable several different types of rendered output. LaTeX is also useful for embedding in your own documents.

MSOffice2K_x (updated October 2015)
This tagset extends the MSOffice2K tagset to add options. This tagset is another way to output data for Microsoft Excel.

This is a short-but-sweet SAS 9.1 tagset that generates SQL statements for creation of tables in an SQL database. It's a brute-force way of getting a data set into your database (SAS/CONNECT or SAS/SHARE being the best way, if you have access to one of those products). At the very least, it is an interesting source of ideas.

Super Map!
This mapping tagset does almost everything you would want from a mapping tagset. Control the events to be displayed, the attributes shown, and display events only if their values match a regular expression. The SAS job includes some simple examples.

After you install, submit the following code for details about the tagset:
ODS tagsets.supermap file="test.xml" options(doc="help");

tableeditor (updated May 2020)
Tableeditor.tpl creates HTML output with the same kind of functionality that you would get from Visual Basic .Net (VB.NET). You can easily export the output to Excel or other filetypes.

This is a SAS 9.1 tagset that generates XBRL XML. It's not your normal run-of-the-mill tagset. See how to use it here. And if you're really curious, dig in and look at the tagset source.

Check out these customer-contributed tagsets, which make SAS output usable by Excel and other spreadsheet software.

Your Turn

The developers, testers and documentation folk that bring you ODS are very excited about the potential these capabilities bring to the SAS System. You can send electronic mail to with your comments.