Previous Page | Next Page

Dictionary of ODS Language Statements

ODS DOCBOOK Statement



Opens, manages, or closes the DOCBOOK destination, which produces XML output that conforms to the DocBook DTD by OASIS.
Valid: anywhere
Category: ODS: Third-Party Formatted

Syntax
Without an Action or Options
Actions
Options
Details

Syntax

ODS DOCBOOK < (<ID=>identifier)> <action>;
ODS DOCBOOK <(<ID=>identifier)> <option(s)>;


Without an Action or Options

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


Actions

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

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


Options

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

ODS DOCBOOK 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 XML 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 XML output CHARSET=
Open the DOCBOOK 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 DOCBOOK destination and specify the file that contains a table of contents for the output CONTENTS=
Override the encoding for input or output processing (transcodes) of external files ENCODING=
Specify a cascading style sheet to apply to your output CSSSTYLE=
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 XML 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 XML code to use as the <META> tag between the <HEAD> and </HEAD> tags in all the DOCBOOK 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 DOCBOOK 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 DOCBOOK 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 DOCBOOK 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