Just Depends - commoncriteria/pp-template GitHub Wiki
As of March 2021, the structure of the depends and selection-depends element has changed. The new format is much more concise: It's a depends element followed by a number of arbitrarily named attributes. In other words, the names depends attributes generally don't matter (with the notable exception of 'id'. The id attribute is special so don't use it in depends elements). The values of the attributes should correspond to the IDs the that the larger element is dependent on.
A depends element may also be empty to indicate that the containing element is optional. This generally makes sense only for SFRs.
For example suppose the following module had the following characteristics:
<base-pp id="base-foo">...
</base-pp>
...
<selectables><selectable id="sel-orange">orange</selectable><selectable id="sel-apple">apple</selectable></selectables>
...
<implements>
<feature id="a-feature-id" title="Widget Thing">
<description> This is a super description of this certain feature.</description>
</feature>
</implements>
Using depends might look something like this:
<h:div>
<depends first="base-foo"/>
<depends second="sel-orange" also="sel-apple"/>
<depends feature-trigger="a-feature-id"/>
A block that optionally applies if
* The 'base-foo' is chosen as the base, or
* 'orange' or 'apple' are selected, or
* The TOE implements 'Widget Thing'
</h:div>
<selection-depends on="abc_def.1" ids="ghi,jkl,mno"/>
becomes
<depends on1="ghi" on2="jkl" on3="mno"/>