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.

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.

Default Attribute Binding Support
Explains the .NET Framework support for the default attribute.

Fixed Attribute Binding Support
Explains the .NET Framework support for the fixed attribute.

Form Attribute Binding Support
Explains the .NET Framework support for the form attribute.

MaxOccurs Attribute Binding Support
Explains the .NET Framework support for the maxOccurs attribute.

MinOccurs Attribute Binding Support
Explains the .NET Framework support for the minOccurs attribute.

Mixed Attribute Binding Support
Explains the .NET Framework support for the Mixed attribute.

Name Attribute Binding Support
Explains the .NET Framework support for the name attribute.

Nillable Attribute Binding Support
Explains the .NET Framework support for the nillable attribute.

Value Attribute Binding Support
Explains the .NET Framework support for the value attribute.

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

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft