This topic has not yet been rated - Rate this topic

2.2 Message Syntax

The markup that is used by this protocol MUST be well-formed XML, as specified in [XML].

This protocol defines XML schema elements for the Notes class, which represents a note.

The XML schema definition (XSD) for the Notes class is defined as follows, in accordance with the rules specified in [XMLSCHEMA1]. The following elements represent the full set of Notes class data that can be returned in a Sync command response ([MS-ASCMD] section 2.2.2.19.2).

<?xml version="1.0" ?><xs:schema xmlns:tns="Notes" attributeFormDefault="unqualified" elementFormDefault="qualified" 
targetNamespace="Notes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:A="AirSyncBase"> 
     <xs:import namespace="AirSyncBase" schemaLocation="AirSyncBase.xsd"/>
     <xs:element name="Subject" type="xs:string" />
     <xs:element name="MessageClass" type="xs:string" />
     <xs:element name="LastModifiedDate" type="xs:dateTime" />
     <xs:element name="Categories">
          <xs:complexType>
               <xs:sequence minOccurs="0">
                    <xs:element maxOccurs="300" name="Category" type="xs:string" />
               </xs:sequence>
          </xs:complexType>
     </xs:element>
</xs:schema>

The portion of the AirSyncBase namespace that is used by the Notes class is defined as follows. For details about the complete AirSyncBase XSD, see [MS-ASAIRS] section 2.2.

<?xml version="1.0" encoding="utf-8"?><xs:schema xmlns:airsyncbase="AirSyncBase" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="AirSyncBase" targetNamespace="AirSyncBase" elementFormDefault="qualified" attributeFormDefault="unqualified">  
     <xs:element name="Body"/>
</xs:schema>
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.