Arguments for Page Formatting

The following arguments format the HTML output file. The rendering of some of these arguments might vary in certain browsers. Several of the following arguments apply only to certain macros, as noted in the descriptions of the arguments.
The BGTYPE=, BRTITLE=, CENTER=, CTEXT=, and DOCTYPE= arguments apply to the entire page for the current invocation of the macro. If you append data to an existing HTML page, then the HTML formatting will not change. You might want to use these arguments only when you replace, rather than append, HTML files.
BDCLASS=body-stylesheet-name
specifies the name of the style sheet that is to be applied to the body of the HTML output file.
Used by:DS2TREE, DS2CONST
BG=color-or-image
specifies the background color or image, based on the value of the BGTYPE= argument. The color can be specified as an HTML 3.2 color name or as a 6-digit hexadecimal RGB value. When BGTYPE=IMAGE, this argument specifies a background image, using a path or a URL, relative or absolute.
Used by:DS2TREE, DS2CONST
BGTYPE=NONE | COLOR | IMAGE
specifies the background type, using one of the following values:
NONE
causes the applet to display its default background color. This is the default value.
COLOR
specifies that the value of the BG= argument must be an HTML 3.2 color name or hexadecimal RGB value.
IMAGE
specifies that the value of the BG= argument must be the path or URL pointing to an image file that will be displayed in the background of the applet window.
Used by:DS2TREE, DS2CONST
BRTITLE=browser-window-title
specifies the text that appears in the title bar of the browser window. By default, no title is displayed.
Used by:DS2TREE, DS2CONST
CENTER= Y | N
specifies whether the graph or diagram is centered in the browser window. The default value is N.
Used by:DS2TREE, DS2CONST
CTEXT=default-text-color
specifies a default text color that replaces the default text color in the browser. Other color arguments can be used to override this new default. The color can be specified as an HTML 3.2 color name or as a six-digit hexadecimal RGB value.
Used by:DS2TREE, DS2CONST
DOCTYPE=DOCTYPE-tag
generates the following DOCTYPE tag by default, which specifies HTML version 3.2:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
To use a different DOCTYPE tag, specify the entire contents of the tag as the value of the DOCTYPE= argument, including the angle brackets.
If you specify DOCTYPE="", then no DOCTYPE tag is generated in the HTML output file.
Used by:DS2TREE, DS2CONST
ENCODE=Y | N
when the value is Y (default), replaces the angle bracket characters (< and >) in SAS TITLE and FOOTNOTE lines with the HTML character entities (&gt; and &lt;) respectively. Specifying ENCODE=N causes the browser to interpret the angle brackets as parts of HTML tags. For example, you would use ENCODE=N if you wanted to use the following TITLE statement:
title "<FONT COLOR="red">Out of Range Data</FONT>";
Used by:DS2TREE, DS2CONST
PAGEPART=ALL | HEAD | BODY | FOOT
specifies which part or parts of the HTML page are to be written into the HTML output file. This argument is helpful when you are appending HTML output to the end of an existing HTML file, or when you are using separate files for the head, body, and foot of your Web page.
ALL
writes the entire HTML file, including the XML tags for the DS2CONST and DS2TREE. This is the default value. Do not use this value if you are appending an existing HTML file.
HEAD
writes the HTML header information and or XML (for DS2CONST and DS2TREE) into the HTML file. The header information consists of the HEAD and BODY tags. HTML footer information is not included.
BODY
writes only the XML tags (for DS2CONST and DS2TREE) into the HTML output file. No head or foot information is generated in the HTML output file.
FOOT
writes metagraphics codes or XML tags and the </BODY> and </HTML> tags to conclude the HTML file.
Used by:DS2TREE, DS2CONST
SASPOWER=logo-image-file
specifies the path or URL, relative or absolute, to the image file of the SAS Powered logo. In the HTML file, the image appears at the bottom of the page. Selecting the image displays the SAS home page. By default, the logo is omitted. To obtain the logo image file, see http://www2.sas.com/dispatcher/index.html. See also the SPCLASS= argument.
Used by:DS2TREE, DS2CONST
SEPCLASS=page-separator-stylesheet
specifies the path or URL, relative or absolute, to the style sheet that is used for the page separator. If the value of the SEPTYPE= argument is RULE, then the value of the SEPCLASS= argument is used on the CLASS attribute of the HTML tag <HR>. If the value of the SEPTYPE= argument is IMAGE, then the value of SEPCLASS= argument is used on the CLASS attribute of the HTML tag <IMG>.
Used by:DS2TREE, DS2CONST
SEPLOC=separator-image
specifies the path or URL, relative or absolute, to the image that you want to use as the separator between the graphs in your presentation. This argument is valid only if the value of the SEPTYPE= argument is IMAGE.
Used by:DS2TREE, DS2CONST
SEPTYPE= IMAGE | NONE | RULE
specifies the type of separator that is used between multiple applets in your presentation. The valid values are defined as follows:
IMAGE
specifies separate graphs using the image specified in the SEPLOC= argument.
NONE
specifies not to use a separator between applets.
RULE
inserts a line between applets. This is the default.
Used by:DS2TREE, DS2CONST
SPCLASS=logo-stylesheet-name
specifies the name of the style sheet class that is to be used for the Powered by SAS logo.
Used by:DS2TREE, DS2CONST