| Return to ODS Packages
|
This example uses the package template in Example: Package Template as an automatic package for a tagset.
proc template;
define tagset tagsets.test;
parent=tagsets.html4;
/* set the proper mimetypes for the files */
default_mimetype = "text/html";
stylesheet_mimetype = "text/css";
/* specify the package template to use. */
package=test;
/* specify the files that are to be created. */
body = "test.html";
stylesheet = "test.css";
end;
run;
Actually creating a package with this tagset and package template is transparent:
ods tagsets.test file="test.spk";
proc gplot data=sashelp.class;
plot height*weight;
by name;
run;
quit;
ods tagsets.test close;
The contents of test.spk is nearly the same as before:
unzip -l test.spk
Archive: test.spk
Length Date Time Name
-------- ---- ---- ----
44 08-15-06 20:54 PackageMetaData
3003 08-15-06 20:54 images/gplot18.gif
2991 08-15-06 20:54 images/gplot17.gif
2995 08-15-06 20:54 images/gplot16.gif
3006 08-15-06 20:54 images/gplot15.gif
2976 08-15-06 20:54 images/gplot14.gif
2998 08-15-06 20:54 images/gplot13.gif
2979 08-15-06 20:54 images/gplot12.gif
2968 08-15-06 20:54 images/gplot11.gif
2983 08-15-06 20:54 images/gplot10.gif
2979 08-15-06 20:54 images/gplot9.gif
2981 08-15-06 20:54 images/gplot8.gif
2986 08-15-06 20:54 images/gplot7.gif
2973 08-15-06 20:54 images/gplot6.gif
2958 08-15-06 20:54 images/gplot5.gif
2992 08-15-06 20:54 images/gplot4.gif
2980 08-15-06 20:54 images/gplot3.gif
2998 08-15-06 20:54 images/gplot2.gif
2965 08-15-06 20:54 images/gplot1.gif
2973 08-15-06 20:54 images/gplot.gif
5519 08-15-06 20:54 ./t2.html
22869 08-15-06 20:54 style/t2.css
-------- -------
85116 23 files