Nested queries from Rational DOORS
See an example of a nested query from a Rational® DOORS® data
source schema.
The following example shows a nested query assigned to a Rational DOORS template element.
Paragraph DOORS 1 $1 Module/Object
Text
Module/Object/Object/Heading
Paragraph DOORS 1 $2 Module/Object/Attribute
Text
Module/Object/Attribute/Name
In this example, a query Module/Object serves
as a context for Module/Object/Attribute.
In this example, setting the context for the second query to $1 produces the following output:
- A set of paragraphs containing the heading of each object in the module.
- A list of paragraphs with the attribute names for the current object in query $1.
Setting the context for the second query to none produces the following output:
- A set of paragraphs containing the heading of each object in the module.
- A list of paragraphs with the attribute names for all the objects.