Rational DOORS queries
The query path starts with the root element (module), continues
with its child element (object), the with the child attribute of the
object, and so on. For example: Module/Object/Attribute/Name.
| Query | Description |
|---|---|
| module | Returns a single result, the source module. |
| module/object | Returns all of the objects in the source module, as filtered or sorted by a data source view. |
| module/object/attribute | If used in a module/object context returns all of the attributes for the current object. If not used in this context, returns all of the objects in the source module. |
Nested queries
Template elements are often nested. Setting queries on elements and their children elements creates nested contexts. The query in the child element is performed on the results of the parent query.

In the parent container element, only the attributes of Module/Object can be used. In the child container element, the attributes of the Module/Object/Attribute query can be used. The second query yields a list of attributes for the current object returned by the query of the parent container.