Previous Page | Next Page

TEMPLATE Procedure: Managing Template Stores

Example 3: Viewing the Source of a Template


PROC TEMPLATE features:

PATH statement

SOURCE statement



Program Description

This example displays the source code for the Xhtml tagset that SAS provides.


Program

 Note about code
proc template;
path sashelp.tmplmst;
 Note about code
source Tagsets.Xhtml;
run;

Source Code of the Template Tagset.Xhtml That Is Written to the SAS Log

  proc template;
 path sashelp.tmplmst;

    source Tagsets.Xhtml;
define tagset Tagsets.Xhtml;
   notes "XHTML 1.0";

   define event doc;
      start:
         set $empty_tag_suffix " /";
         set $doctype
               "";
         set $framedoctype
               "";
         put $doctype NL;
         put "" NL;

      finish:
         put "" NL;
   end;
   split = "";
   parent = tagsets.html4;
end;
NOTE: Path 'Tagsets.Xhtml' is in: SASHELP.TMPLMST.
  run;
NOTE: PROCEDURE TEMPLATE used (Total process time):
      real time           2.17 seconds
      cpu time            0.17 seconds

Previous Page | Next Page | Top of Page