Advanced XML Schema Definition Language Attributes Binding Support

This topic is specific to a legacy technology. XML Web services and XML Web service clients should now be created using Windows Communication Foundation.

Binding support refers to the following:

  • Definition bindings between classes and XSD documents using the Xsd.exe tool.

  • Run-time bindings between objects and XML instance documents using the XmlSerializer class.

In This Section

For most of the attributes in the XML Schema definition language, .NET Framework binding support is covered in the associated XML Schema element topics. For example, the use attribute is discussed with the Attribute Element Binding Support.

The topics in this section involve XML Schema definition language attributes that require their own explanation, typically because that explanation is intertwined between multiple elements.

For binding support for attributes from the XML Schema Instance namespace, see XML Schema Instance Namespace Binding Support.

Binding Support by Attribute

The following table lists all XSD attributes with their level of binding support.

Attribute Binding support

abstract

Supported.

attributeFormDefault

Partially supported.

base

Partially supported.

block

Not supported.

blockDefault

Not supported.

default

Partially supported.

elementFormDefault

Partially supported.

final

Not supported.

finalDefault

Not supported.

fixed

Limited support.

form

Supported.

id

Not supported.

itemType

Limited support.

xml:lang

Not supported.

maxOccurs

Limited support.

memberTypes

Not supported.

minOccurs

Limited support.

mixed

Partially supported.

name

Partially supported.

namespace

Partially supported.

nillable

Partially supported.

processContents

Not supported.

public

Not supported.

ref

Partially supported.

refer

Not supported.

schemaLocation

Partially supported.

source

Not supported.

substitutionGroup

Not supported.

system

Not supported.

targetNamespace

Supported.

type

Supported.

use

Partially supported.

value

Not supported.

version

Not supported.

xpath

Not supported.