input

The input element tells the AIML interpreter that it should
substitute the contents of a previous user input. The template-side input
has an optional index attribute that may contain either a single integer or
a comma-separated pair of integers. The minimum value for either of the
integers in the index is "1". The index tells the AIML interpreter which
previous user input should be returned (first dimension), and optionally
which "sentence" of the previous user input. The AIML interpreter should
raise an error if either of the specified index dimensions is invalid at
run-time. An unspecified index is the equivalent of "1,1". An unspecified
second dimension of the index is the equivalent of specifying a "1" for the
second dimension.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
index restriction of xs:string optional

Source

<xs:element name="input" type="OneOrTwoDIndexedElement">
  <xs:annotation>
    <xs:documentation>The input element tells the AIML interpreter that it should substitute the contents of a previous user input. The template-side input has an optional index attribute that may contain either a single integer or a comma-separated pair of integers. The minimum value for either of the integers in the index is "1". The index tells the AIML interpreter which previous user input should be returned (first dimension), and optionally which "sentence" of the previous user input. The AIML interpreter should raise an error if either of the specified index dimensions is invalid at run-time. An unspecified index is the equivalent of "1,1". An unspecified second dimension of the index is the equivalent of specifying a "1" for the second dimension.</xs:documentation>
  </xs:annotation>
</xs:element>

Sample

You asked me: "

< input index = "2" />

".