get

The get element tells the AIML interpreter that it should
substitute the contents of a predicate, if that predicate has a value
defined. If the predicate has no value defined, the AIML interpreter should
substitute the empty string "". The AIML interpreter implementation may
optionally provide a mechanism that allows the AIML author to designate
default values for certain predicates.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
name PredicateName optional

Source

<xs:element name="get">
  <xs:annotation>
    <xs:documentation>The get element tells the AIML interpreter that it should substitute the contents of a predicate, if that predicate has a value defined. If the predicate has no value defined, the AIML interpreter should substitute the empty string "". The AIML interpreter implementation may optionally provide a mechanism that allows the AIML author to designate default values for certain predicates.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="name" type="PredicateName"/>
  </xs:complexType>
</xs:element>

Sample

I am

< person/>

< get name = "genus" />

. Do you like my kind?