extension

Contains custom elements of any name in any namespace as application-specific extension to the parent element defined in an enhanced presence schema.

<ct:extension xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" >
   <[any]>...</[any]>
</ct:extension>

xs:element

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child Elements

Element

Occurrence

Description

[any]

0 or more

An XML element of any name in any namespace specifying custom extension to an enhanced presence schema.

Parent Elements

Element

Description

Various

Element representing an enhanced presence category instance value and some of its child elements can support such an extension.

Text Value

None

Remarks

Where it is defined in an enhanced presence schema, this element can be used to support application-specific custom extension of the elements. The child elements specifying the extension can be of any name and in any namespace.

Example

<contactCard 
     xmlns="https://schemas.microsoft.com/2006/09/sip/contactcard" 
     xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" >
  <identity>
    <name>
      <displayName>bob</displayName>
    </name>
    <email>bob@contoso.com</email>
  </identity>
  <address type="work" />
  <company>Contoso, LTD.</company>
  <title>SR. DEVELOPMENT LEAD</title>
  <office>A</office>
  <phone type="work">
    <uri>tel:+14255550150;ext=50150</uri>
  </phone>
  <ct:delimiter />
  <ringIm>true</ringIm>
  <ct:end />
  <ct:extension>
    <e:test xmlns:e="https://schemas.microsoft.com/2006/09/sip/ccextension" />
    <e:test2 xmlns:e="https://schemas.microsoft.com/2006/09/sip/ccextension" />
  </ct:extension>
</contactCard>

In the code snippet above, <e:test> and <e:test2> are two elements introduced as a custom extension to a contactCard category instance.

Element Information

Namespace

https://schemas.microsoft.com/2006/09/sip/commontypes

Schema Name

CommonTypes

Validation File

CommonTypes.Xsd

Can be Empty

True

See Also

Reference

TopicLink