note
Holds a personal or Out of Office message as a presence note.
<note xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
majorVersion="xs:unsignedInt"
minorVersion="xs:unsignedInt"
anyAttr="any"
xmlns="https://schemas.microsoft.com/2006/09/sip/note">
<body uri="xs:anyURI"
type="noteTypeEnumEx"
LCID="xs:unsignedInt"
startTime="xs:dateTime"
endTime="xs:dateTime"
[anyAttr]="anyattr">string value</body>
<ct:extension xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes">
<any xmlns="any">any element</any>
</ct:extension>
<ct:delimiter xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" />
<[any]>any element in the note namespace</any>
<ct:end xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" />
</note>
noteType
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
majorVersion |
Optional attribute to specify schema-dependent major version information. |
minorVersion |
Optional attribute to specify schema-dependent minor version information. |
[anyAttr] |
Optional custom attribute of any name and namespace |
Child Elements
Element |
Occurrence |
Description |
---|---|---|
body |
1 ore more |
Message body of the presence note. |
0 or 1 |
Application-dependent custom extension to this element. |
|
0 or more |
A marker to begin a version-dependent schema extension. |
|
[any] |
0 or more |
Custom element of any name in the same namespace describing a schema extension to this element. This element must be enclosed between a delimiter element and an end element or between a two delimiter elements. |
0 or 1 |
The marker to end all the schema extensions. |
Parent Elements
Element |
Description |
---|---|
None |
This is a top-level element as an enhanced presence category instance |
Text Value
An instance of any XML simple type.
Example
The following XML code snippet shows a presence note of the personal type.
<nt:note xmlns:nt="https://schemas.microsoft.com/2006/09/sip/note">
<nt:body type="personal">I'm away today.</nt:body>
</nt:note>
Element Information
Namespace |
https://schemas.microsoft.com/2006/09/sip/note |
Schema Name |
note |
Validation File |
note.xsd |
Can be Empty |
True |