2.2.1.2.36 subject

The subject element specifies the subject text for the e-mail message that is generated when the form file is submitted using the e-mail data adapter. The specified subject text MUST NOT exceed 255 characters.

Parent Elements

emailAdapter

Attributes:

value: This attribute specifies either a literal string or an XPath expression that evaluates to a string. If the specified value is a literal string, the valueType attribute MUST be set to "literal". Otherwise, it MUST be set to "expression".

valueType:  This attribute specifies how the value of the value attribute MUST be interpreted. If this attribute is set to "expression", the value of the value attribute MUST be evaluated as an XPath expression. If this attribute is set to "literal", the value of the value attribute MUST be evaluated as a literal string.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="subject" minOccurs="0">
   <xsd:complexType>
     <xsd:attribute name="value" type="xsd:string" use="required"/>
     <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"/>
   </xsd:complexType>
 </xsd:element>