class
.id
.title
or prop
ns
, which is the namespace associated with a part
, or prop
.Use by-name
, by-class
, by-id
or by-item-name
to indicate class tokens or ID reference, or the formal name, of the component to be removed or erased from a control, when a catalog is resolved. The control affected is indicated by the pointer on the removal's parent (containing) alter
element.
To change an element, use remove
to remove the element, then add
to add it back again with changes.
When no by-id
is given, the addition is inserted into the control targeted by the alteration at the start or end as indicated by position
. Only position
values of "starting" or "ending" are permitted when there is no by-id
.
by-id
, when given, should indicate, by its ID, an element inside the control to serve as the anchor point for the addition. In this case, position
value may be any of the permitted values.
Use @control-id
to indicate the scope of alteration.
It is an error for two alter
elements to apply to the same control. In practice, multiple alterations can be applied (together), but it creates confusion.
At present, no provision is made for altering many controls at once (for example, to systematically remove properties or add global properties); extending this element to match multiple control IDs could provide for this.
+If with-child-controls
is yes
on the call to a control, no sibling call
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.
Use @control-id
to indicate the scope of alteration.
It is an error for two alter
elements to apply to the same control. In practice, multiple alterations can be applied (together), but it creates confusion.
At present, no provision is made for altering many controls at once (for example, to systematically remove properties or add global properties); extending this element to match multiple control IDs could provide for this.
-class
.id
.title
or prop
ns
, which is the namespace associated with a part
, or prop
.Use name-ref
, class-ref
, id-ref
or generic-identifier
to indicate class tokens or ID reference, or the formal name, of the component to be removed or erased from a control, when a catalog is resolved. The control affected is indicated by the pointer on the removal's parent (containing) alter
element.
To change an element, use remove
to remove the element, then add
to add it back again with changes.
When no id-ref
is given, the addition is inserted into the control targeted by the alteration at the start or end as indicated by position
. Only position
values of "starting" or "ending" are permitted when there is no id-ref
.
id-ref
, when given, should indicate, by its ID, an element inside the control to serve as the anchor point for the addition. In this case, position
value may be any of the permitted values.
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A3 aaaaa aaaaaaaaaa
+A3 aaaaa
A1 bbbbb
A1 ccc
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A3 aaaaa aaaaaaaaaa
+A3 aaaaa
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A1 aaaaa aaaaaaaaaa
+A1 aaaaa
A1 ccc
A1 bbbbb
A3 aaaaa aaaaaaaaaa
+A3 aaaaa