Figure A3.2 Linking to Another File
The following features are important at the starting point (the anchor) of the link:
The <A> and </A> tags surround the text that the browser highlights.
The HREF attribute points to the link's target. The text that precedes the pound sign
(#) identifies the file that contains the target.
ODS provides features that enable you to customize the text that precedes the pound sign
and the text that follows the pound sign. For information about how to do this, see the
discussions of file-specification, ANCHOR=, BASE=, PATH=, and GPATH= in the
“ODS HTML Statement ” on page 304 as well as “How ODS Constructs Links and
References” on page 1091.
HTML implements references in much the same way as it implements links. The main
difference is that a link points to a particular location within a file and that a reference
points to the file itself. HTML uses the SRC attribute to identify a file to reference. The
value of the SRC attribute is constructed the same way that the value of the HREF
attribute is constructed except that there is no pound sign and no text following it.
How ODS Constructs Links and References
Several options in the ODS HTML statement affect how ODS constructs the links and
references that point from the frame to the table of contents, table of pages, and body file
and from the table of contents or table of pages to the body file. Links are made as HREF
attributes on <A> (anchor) tags inside the HTML files. Each HREF attribute points to the
NAME attribute on another <A> tag. The HREF must identify both the file that contains
HTML Links and References Produced by the HTML Destination 1091

Get SAS 9.4 Output Delivery System, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.