Usage Note 23490: In ODS output, how do I remove the window title "SAS OUTPUT" from the browser
when no window title is supplied?
This example shows how to use ODS MARKUP to remove the browser
title from the browser window if a value is not passed from the TITLE= HTML sub-option.
The !EXIST condition determines whether the event variable VALUE
has a value. If a value is passed from the TITLE= sub-option, then the window
uses that title. If a value is not passed, then the window title is blank.
(The event variable VALUE holds the value of the current event.)
proc template;
define tagset Tagsets.remtitle;
define event doc_title;
put "<title>";
put "%nrstr( )" / !exist(value);
put value;
put "</title>" NL;
end;
parent=tagsets.htmlcss;
end;
run;
ods markup file="temp.html"(title="a title") tagset=tagsets.remtitle;
proc print data=sashelp.class;
run;
ods markup close;
dm "wbrowse 'temp.html'";
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
| Date Modified: | 2007-10-04 15:00:33 |
| Date Created: | 2003-10-24 15:11:13 |