Appendix 3
ODS and the HTML Destination
HTML Links and References Produced by the HTML Destination . . . . . . . . . . 1089
What Are Links and References? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1089
Implementing HTML Links and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1089
How ODS Constructs Links and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1091
Files Produced by the HTML Destination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
The Body File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
The Contents File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1097
The Page File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1097
The Frame File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1097
HTML Links and References Produced by the
HTML Destination
What Are Links and References?
An HTML link is a place in a document that enables you to jump to another specific
place in the same document or in another document. A browser typically highlights the
text that is between the tags that begin and end the link. When you click on the
highlighted text, the browser displays the text at the link target. The browser might then
display the contents of the target in the active window, or it might open another browser
window that displays the contents of the target.
An HTML reference names a file for the browser to display. When a browser reads a
reference, it displays the referenced file as if it were part of the file that it is displaying.
You cannot tell by looking at the browser's display that some of the material is in the file
that you are actually viewing and that some is referenced.
When you use ODS, the software automatically creates the links and references that you
need. However, you can customize these links to some extent. If you want to do so, then
you need to understand how HTML implements links and references.
Implementing HTML Links and References
Note: This simplified discussion of HTML links and references is designed to provide
information that will help you understand what ODS does when it builds links and
references for you. For a complete discussion of HTML tagging, consult one of the
many reference books that are available on the subject.
1089

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.