XmlSchema::AttributeFormDefault Property
Gets or sets the form for attributes declared in the target namespace of the schema.
Assembly: System.Xml (in System.Xml.dll)
public: property XmlSchemaForm AttributeFormDefault { XmlSchemaForm get(); void set(XmlSchemaForm value); }
Property Value
Type: System.Xml.Schema::XmlSchemaFormThe XmlSchemaForm value that indicates if attributes from the target namespace are required to be qualified with the namespace prefix. The default is None.
The value must be one of the XmlSchemaForm values shown in the following table.
XmlSchemaForm Value | Description |
|---|---|
The attribute form is not specified in schema. | |
Attributes from the target namespace must be qualified with the namespace prefix. | |
Attributes from the target namespace are not required to be qualified with the namespace prefix. |
This value is the global default for all attributes declared in the target namespace. Individual attributes can override this setting for the local scope using the form attribute.
Available since 1.1