topicstar

The topicstar element tells the AIML interpreter that it
should substitute the contents of a wildcard from the current topic (if the
topic contains any wildcards). The topicstar 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). Not specifying the index is
the same as specifying an index of "1".

Element Information

Model

Attributes

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

Source

<xs:element name="topicstar" type="IndexedElement">
  <xs:annotation>
    <xs:documentation>The topicstar element tells the AIML interpreter that it should substitute the contents of a wildcard from the current topic (if the topic contains any wildcards). The topicstar 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). Not specifying the index is the same as specifying an index of "1".</xs:documentation>
  </xs:annotation>
</xs:element>

Sample