FilterAttrs Attribute Group

Description

Attributes for filtering.

Attributes

NameTypeUseDefaultDescription
learn_childrenstringoptionalYes

Indicates whether to learn the children of this control.

Possible values:

  • Yes
  • No
  • CallFilterFunc - the function specified in the function attribute performs the filtering.
learn_controlstringoptionalYes

Indicates whether to learn this control.

Possible values:

  • Yes
  • No
  • IfChildren - learn control only if it has children.

Source

<xs:attributeGroup xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FilterAttrs">
    <xs:annotation>
        <xs:documentation>Attributes for filtering.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="learn_control" use="optional" default="Yes">
        <xs:annotation>
            <xs:documentation>Indicates whether to learn this control.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:string">
                <xs:enumeration value="Yes" />
                <xs:enumeration value="No" />
                <xs:enumeration value="IfChildren" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="learn_children" use="optional" default="Yes">
        <xs:annotation>
            <xs:documentation>Indicates whether to learn the children of this control.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:string">
                <xs:enumeration value="Yes" />
                <xs:enumeration value="No" />
                <xs:enumeration value="CallFilterFunc" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
</xs:attributeGroup>