Freigeben über


2.2.5.1 t:BodyTypeResponseType Simple Type

The BodyTypeResponseType simple type specifies the type of content that is returned for the body of an item. The BodyTypeResponseType simple type extends the xs:string data type ([XMLSCHEMA2] section 3.2.1).

 <xs:simpleType name="BodyTypeResponseType">
     <xs:restriction base="xs:string">
         <xs:enumeration value="Best"/>
         <xs:enumeration value="HTML"/>
         <xs:enumeration value="Text"/>
     </xs:restriction>
 </xs:simpleType>
  

The values that are defined by the BodyTypeResponseType simple type are listed in the following table.

Value

Meaning

Best

Specifies that the response returns the richest available body content. This is useful if it is unknown whether the content is text or Hypertext Markup Language (HTML).

HTML

Specifies that the response returns an item body as HTML.

Text

Specifies that the response returns an item body as plain text.