Previous Page | Next Page

Dictionary of ODS Language Statements

ODS PHTML Statement



Opens, manages, or closes the PHTML destination, which produces simple HTML output that uses twelve style elements and no class attributes for the presentation. Class attributes are used only for the justification.
Valid: anywhere
Category: ODS: Third-Party Formatted

Syntax
Without an Action or Options
Actions
Options
Details

Syntax

ODS PHTML action;
ODS PHTML <option(s)>;


Without an Action or Options

If you use the ODS PHTML statement without an action or options, then it opens the PHTML destination and creates PHTML output.


Actions

The following table lists the actions available for the ODS PHTML statement. For complete descriptions of these actions see Actions in the ODS MARKUP statement.

ODS PHTML Action Summary Table
Task Action
Close the PHTML destination and the file that is associated with it CLOSE
Exclude output objects from the PHTML destination EXCLUDE
Select output objects for the PHTML destination SELECT
Write to the SAS log the current selection or exclusion list for the PHTML destination SHOW


Options

The following table lists the options available for the ODS PHTML statement, which is part of the markup family of statements. For complete descriptions of these options, see Options in the ODS MARKUP statement.

ODS PHTML Option Summary Table
Task Option
Specify a unique base name for the anchor tag that identifies each output object in the current body file ANCHOR=
Specify which applet to use to view the HTML output ARCHIVE=
Specify attributes to write between the tags that generate dynamic graphics output ATTRIBUTES=
Specify text to use as the first part of all links and references that ODS creates in output files BASE=
Open a markup family destination and specify the file that contains the primary output that is created by the ODS statement BODY=
Specify the character set to be generated in the META declaration for the HTML output CHARSET=
Open the PHTML destination and specify that the file that contains relevant style information CODE=
Create a file path that can be used by the GOPTIONS devices CODEBASE=
Open the PHTML destination and specify the file that contains a table of contents for the output CONTENTS=
Specify a cascading style sheet to apply to your output CSSSTYLE=
Override the encoding for input or output processing (transcodes) of external files ENCODING=
Specify an event and the value for event variables that is associated with the event EVENT=
Specify the file that integrates the table of contents, the page contents, and the body file FRAME=
Control the location where footnotes are printed in the graphics output GFOOTNOTE | NOGFOOTNOTE
Specify the location for all graphics output that is generated while the destination is open GPATH=
Control the location where titles are printed in the graphics output GTITLE | NOGTITLE
Specify HTML tags to place between the <HEAD> and </HEAD> tags in all the files that the destination writes to HEADTEXT=
Open multiple instances of the same destination at the same time ID=
Specify HTML code to use as the <META> tag between the <HEAD> and </HEAD> tags in all the PHTML files that the destination writes to METATEXT=
Create a new body file at the specified starting point. Opens a markup family destination and specifies the file that contains a description of each page of the body file, and contains links to the body file NEWFILE=
Specify tagset-specific suboptions and a named value OPTIONS
Specify that the output from the destination be added to an ODS package PACKAGE
Open the PHTML destination and specify the file that contains a description of each page of the body file, and contains links to the body file PAGE=
Write the specified parameters between the tags that generate dynamic graphics output PARAMETERS=
Specify the location of an aggregate storage location or a SAS catalog for all markup files PATH=
Specify an alternative character or string to separate lines in the output files RECORD_SEPARATOR=
Specify a style definition to use in writing output files STYLE=
Open the PHTML destination and place style information for output into an external file, or read style sheet information from an existing file STYLESHEET=
Insert text into your document TEXT=
Insert into the metadata of a file, a text string that you want to specify as the text to appear in the browser window title bar TITLE=
Specify a translation table to use when transcoding a file for output TRANTAB=


Details

The ODS PHTML statement is part of the ODS markup family of statements. ODS statements in the markup family produce output that is formatted using one of many different markup languages such as HTML (Hypertext Markup Language), XML (Extensible Markup Language), and LaTeX. SAS supplies many markup languages for you to use ranging from DOCBOOK to TROFF. You can specify a markup language that SAS supplies, or create one of your own and store it as a user-defined markup language.

Previous Page | Next Page | Top of Page