| TEMPLATE Procedure: Creating Markup Language Tagsets |
| PROC TEMPLATE features: |
| ||||||||||||||
| Other ODS features: |
|
| Program Description |
This example shows the difference between stacking data one column on top of another and placing data side by side. (For more information on stacked columns, see the DEFINE TABLE Statement.)
| Program |
| |
proc template;
define tagset tagsets.myhtml;
parent=tagsets.phtml;
stacked_columns=no;
end;
run; |
| |
ods tagsets.myhtml file='not_stacked.html'; proc standard print data=sashelp.class; run; |
| |
ods _all_ close; |
Output with Values Side by Side
![[Output with Values Side by Side]](images/eventprg9nostack.gif)
| |
ods phtml file='stacked.html'; proc standard print data=sashelp.class; run; ods _all_ close; |
| Program |
| Program Output |
Output with Values Stacked One on Top of Another
![[Output with Values Stacked One on Top of Another]](images/eventprg9stack.gif)
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.