Usage Note 23638: How to ensure that your HTML files and the graphics files within them link correctly when they are emailed
To ensure that the links between HTML and graphics files are maintained when the files are moved or emailed, create the files with a relative URL. If the files are moved to a web server with a different directory structure, it might be necessary to use the URL=NONE or URL='serverdir\' option so that ODS builds a relative HTML anchor tag or, in conjunction with the BASE= option, so that ODS builds an absolute HTML anchor tag within the HTML file that it creates. Consult with your webmaster for information about the preferred URL addressing method (relative or absolute), and modify the SAS code accordingly.
The example code below creates a file with a relative HTML anchor by using the PATH= option along with the URL=NONE suboption in the ODS HTML statement. Graphics files go to the location specified by the PATH= option unless the GPATH statement is specified.
ods html path='c:\temp'(URL=NONE)
file='body.html'
contents='cont.html'
frame='frame.html';
/* Your code goes here */
ods html close;
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
Date Modified: | 2005-11-01 10:45:43 |
Date Created: | 2004-01-06 14:36:15 |