Inserting Contexts and Context Calls

You can define a context that corresponds to a block of template elements. You can then call and perform the actions corresponding to this block at an in-depth level to recursively produce the same behavior at another level. In this scenario, you create a context providing chapter titles of a requirement specification. After, you call this context to reproduce the behavior on another in-depth level to get the nested chapter titles.

This task shows you how to:


Before you begin:
  • Create a requirement specification in the Requirements app. Insert nested chapters in this requirement specification.
  • Create a parameter of Requirement Specification type and name it reqSpec.
See Also
Adding Parameters to Templates