Binary behaviors and XML schema

As of Windows Internet Explorer 9, XML schemas no longer allow binary behaviors to be imported using namespaces. This affects IE9 standards mode and later document modes.

Instead of using HTML markup, use Cascading Style Sheets (CSS)-based registration through the behavior property.

You can use CSS-based registration through elements other than the class attribute.

A behavior can be specified at the top of a webpage by using HTML markup, as the following code example shows.

<html xmlns:myNamespace>
  <?import namespace="myNamespace" implementation = "">

However, the code above does not work in XML mode.

Instead, use the code below inXML mode

.calendar {
  -ms-behavior: url(;
<div class="calendar"></div>

-ms-behavior Attribute | behavior Property

Binary Behaviors