O'Reilly logo

PROC TEMPLATE Made Easy by Kevin Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Inheritance

Since we’ve already discussed inheritance once in Chapter 2, this topic isn’t entirely new. The best news is that inheritance in tables isn’t nearly as involved as it is in styles. When a template (either table, column, header, or footer) inherits from another template, which must be of the same type, it simply acquires all of the attributes of that other template. If both the parent template and the child template set the same attribute, the child attribute takes precedence. If the template contains other templates, such as columns in a table, the child template also acquires those. Let’s walk through an example.

Here is a table that we like the look of for the most part, but we want to change a few aspects of it.

PROC TEMPLATE; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required