|
89 | 89 | </remarks>
|
90 | 90 | </assembly>
|
91 | 91 | </choice>
|
92 |
| - <assembly ref="select-control-by-id" max-occurs="unbounded"> |
93 |
| - <use-name>exclude-controls</use-name> |
94 |
| - <group-as name="exclude-controls" in-json="ARRAY"/> |
| 92 | + <define-assembly name="exclude-controls" scope="local"> |
| 93 | + <formal-name>Select Control</formal-name> |
| 94 | + <description>Select a control or controls from an imported control set.</description> |
| 95 | + <flag ref="with-child-controls"/> |
| 96 | + <model> |
| 97 | + <define-field name="with-id" as-type="token" max-occurs="unbounded"> |
| 98 | + <formal-name>Match Controls by Identifier</formal-name> |
| 99 | + <description>Selecting a control by its ID given as a literal.</description> |
| 100 | + <group-as name="with-ids" in-json="ARRAY"/> |
| 101 | + </define-field> |
| 102 | + <define-assembly name="matching" max-occurs="unbounded"> |
| 103 | + <formal-name>Match Controls by Pattern</formal-name> |
| 104 | + <description>Selecting a set of controls by matching their IDs with a |
| 105 | + wildcard pattern.</description> |
| 106 | + <group-as name="matching" in-json="ARRAY"/> |
| 107 | + <flag ref="pattern"/> |
| 108 | + </define-assembly> |
| 109 | + </model> |
95 | 110 | <remarks>
|
96 |
| - <p>Identifies which controls to exclude, or eliminate, from the set of included controls by control identifier or match pattern.</p> |
| 111 | + <p>If <code>with-child-controls</code> is <q>yes</q> on the call to a control, no sibling <code>call</code>elements need to be used to call any controls appearing within it. Since generally, this is how control enhancements are represented (as controls within controls), this provides a way to include controls with all their dependent controls (enhancements) without having to call them individually.</p> |
97 | 112 | </remarks>
|
98 |
| - </assembly> |
| 113 | + </define-assembly> |
99 | 114 | </model>
|
100 | 115 | <remarks>
|
101 | 116 | <p>The contents of the <code>import</code> element indicate which controls from the source will be included. Controls from the source catalog or profile may be either selected, using the <code>include-all</code> or <code>include-controls</code> directives, or de-selected (using an <code>exclude-controls</code> directive).</p>
|
|
443 | 458 | <formal-name>Select Control</formal-name>
|
444 | 459 | <description>Select a control or controls from an imported control set.</description>
|
445 | 460 | <flag ref="with-child-controls"/>
|
| 461 | + <flag ref="with-parent-controls"/> |
446 | 462 | <model>
|
447 | 463 | <define-field name="with-id" as-type="token" max-occurs="unbounded">
|
448 | 464 | <formal-name>Match Controls by Identifier</formal-name>
|
|
475 | 491 | <formal-name>Pattern</formal-name>
|
476 | 492 | <description>A <a href="https://en.wikipedia.org/wiki/Glob_(programming)">glob expression</a> matching the IDs of one or more controls to be selected.</description>
|
477 | 493 | </define-flag>
|
| 494 | + <define-flag as-type="token" name="with-parent-controls"> |
| 495 | + <formal-name>Include Parent Controls with Control</formal-name> |
| 496 | + <description>When a control is included, whether its lineage of parent (ancestor) controls are also included.</description> |
| 497 | + <constraint> |
| 498 | + <allowed-values> |
| 499 | + <enum value="yes">Include parent controls with an included control.</enum> |
| 500 | + <enum value="no">When importing a control, only include parent controls that are also explicitly called.</enum> |
| 501 | + </allowed-values> |
| 502 | + </constraint> |
| 503 | + </define-flag> |
| 504 | + <define-flag as-type="string" name="pattern"> |
| 505 | + <formal-name>Pattern</formal-name> |
| 506 | + <description>A <a href="https://en.wikipedia.org/wiki/Glob_(programming)">glob expression</a> matching the IDs of one or more controls to be selected.</description> |
| 507 | + </define-flag> |
478 | 508 | </METASCHEMA>
|
0 commit comments