star

The star element indicates that an AIML interpreter should
substitute the value "captured" by a particular wildcard from the
pattern-specified portion of the match path when returning the template. The
star element has an optional integer index attribute that indicates which
wildcard to use. The minimum acceptable value for the index is "1" (the
first wildcard), and the maximum acceptable value is equal to the number of
wildcards in the pattern.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
index xs:integer optional

Source

<xs:element name="star" type="IndexedElement">
  <xs:annotation>
    <xs:documentation>The star element indicates that an AIML interpreter should substitute the value "captured" by a particular wildcard from the pattern-specified portion of the match path when returning the template. The star element has an optional integer index attribute that indicates which wildcard to use. The minimum acceptable value for the index is "1" (the first wildcard), and the maximum acceptable value is equal to the number of wildcards in the pattern.</xs:documentation>
  </xs:annotation>
</xs:element>

Sample

President

< star/>