Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

System.Xml.Schema Namespace

The System.Xml.Schema namespace contains the XML classes that provide standards-based support for XML Schemas definition language (XSD) schemas. The supported standards are:

  • XML Schemas for Structures - http://www.w3.org/TR/xmlschema-1/ - support for schema mapping and validation. See also XmlSchemaCollection, which currently provides XML Schema (XSD) and XDR schema validation.
  • XML Schemas for Data Types - http://www.w3.org/TR/xmlschema-2/ - supports data types for XML Schema (XSD) definitions. See also XmlSchemaCollection, which currently provides XML Schema (XSD) and XML-Data Reduced (XDR) schema validation.

Namespace hierarchy

Classes

Class Description
ValidationEventArgs Returns detailed information related to the ValidationEventHandler.
XmlSchema Contains the definition of a schema. All XML Schema definition language (XSD) elements are children of the schema element. Represents the World Wide Web Consortium (W3C) schema element.
XmlSchemaAll Permits the elements in the group to appear (or not appear) in any order in the containing element. Represents the World Wide Web Consortium (W3C) all element (compositor).
XmlSchemaAnnotated The base class for any element that can contain annotation elements.
XmlSchemaAnnotation Annotation is used to store extra information about the schema or its elements. These notes are specified for human consumption, xs:documentation, or by software, xs:appinfo.Annotation can be the first element of most Schema elements or anywhere under the schema element. Represents the World Wide Web Consortium (W3C) annotation element.
XmlSchemaAny Enables any element from the specified namespace or namespaces to appear in the containing complexType element. Represents the World Wide Web Consortium (W3C) any element.
XmlSchemaAnyAttribute Enables any attribute from the specified namespace or namespaces to appear in the containing complexType element. Represents the World Wide Web Consortium (W3C) anyAttribute element.
XmlSchemaAppInfo Defines application specific information within an annotation. Represents the World Wide Web Consortium (W3C) appinfo element.
XmlSchemaAttribute Attributes provide additional information for other document elements. The attribute tag is nested inbetween the tags of a documents element for the schema. The XML document displays attributes as named item in the opening tag of an element. Represents the World Wide Web Consortium (W3C) attribute element.
XmlSchemaAttributeGroup Class for attribute groups. Groups a set of attribute declarations so that they can be incorporated as a group into complex type definitions. Represents the World Wide Web Consortium (W3C) attributeGroup element.
XmlSchemaAttributeGroupRef Reference for an attributeGroup, name property contains the attribute group being referenced. Represents the World Wide Web Consortium (W3C) attributeGroup element with the ref attribute.
XmlSchemaChoice Allows only one of its children to appear in an instance. Represents the World Wide Web Consortium (W3C) choice (compositor) element.
XmlSchemaCollection Contains a cache of XML Schema definition language (XSD) and XML-Data Reduced (XDR) schemas. This class cannot be inherited.
XmlSchemaCollectionEnumerator Supports a simple iteration over a collection. This class cannot be inherited.
XmlSchemaComplexContent Class that represents the complex content model for complex types. Contains extensions or restrictions on a complex type that has mixed content or elements only. Represents the World Wide Web Consortium (W3C) complexContent element.
XmlSchemaComplexContentExtension Class for complex types with a complex content model derived by extension. Extends the complex type by adding attributes or elements. Represents the World Wide Web Consortium (W3C) extension element for complex content.
XmlSchemaComplexContentRestriction Class for complex types with a complex content model that are derived by restriction. Restricts the contents of the complex type to a subset of the inherited complex type. Represents the World Wide Web Consortium (W3C) restriction element for complex content.
XmlSchemaComplexType Class for complex types. Defines a complex type that determines the set of attributes and content of an element. Represents the World Wide Web Consortium (W3C) complexType element.
XmlSchemaContent An abstract class for schema content.
XmlSchemaContentModel Specifies the order and structure of the child elements of a type.
XmlSchemaDatatype Represents the abstract class for mapping XML Schema definition language (XSD) and .NET Framework types.
XmlSchemaDocumentation Class that specifies information to be read or used by humans within an annotation. Represents the World Wide Web Consortium (W3C) documentation element.
XmlSchemaElement Base class for all particle types. Used to describe an element in a XML document. Represents the World Wide Web Consortium (W3C) element element.
XmlSchemaEnumerationFacet Specifies a list of valid values for a simpleType element. Declaration is contained within a restriction declaration. Represents the World Wide Web Consortium (W3C) enumeration facet.
XmlSchemaException Returns detailed information about the schema exception.
XmlSchemaExternal An abstract class. Provides information about the included schema.
XmlSchemaFacet Abstract class for all facets that are used when simple types are derived by restriction.
XmlSchemaFractionDigitsFacet Specifies a restriction on the number of digits that can be entered for the fraction value of a simpleType element. The value of fractionDigits must be a positive integer. Represents the World Wide Web Consortium (W3C) fractionDigits facet.
XmlSchemaGroup Class that defines groups at the schema level that are referenced from the complex types. Groups a set of element declarations so that they can be incorporated as a group into complex type definitions. Represents the World Wide Web Consortium (W3C) group element.
XmlSchemaGroupBase An abstract class for XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence.
XmlSchemaGroupRef Class used within complex types that defines the reference to groups defined at the schema level. Represents the World Wide Web Consortium (W3C) group element with ref attribute.
XmlSchemaIdentityConstraint Class for the identity constraints: key, keyref, and unique elements.
XmlSchemaImport The class to import schema components from any schema. Represents the World Wide Web Consortium (W3C) import element.
XmlSchemaInclude Class to include declarations and definitions from an external schema. Allows them to be available for processing in the containing schema. Represents the World Wide Web Consortium (W3C) include element.
XmlSchemaKey Identifies a key constraint. Represents the World Wide Web Consortium (W3C) key element.
XmlSchemaKeyref Identifies a keyref constraint. Represents the World Wide Web Consortium (W3C) keyref element.
XmlSchemaLengthFacet Specifies a restriction on the length of a simpleType element, based on the datatype. Represents the World Wide Web Consortium (W3C) length facet.
XmlSchemaMaxExclusiveFacet Specifies a restriction on the minimum value of a simpleType element. The element value must be less than the value of maxExclusive. Must also declare a minExclusive element. Represents the World Wide Web Consortium (W3C) maxExclusive facet.
XmlSchemaMaxInclusiveFacet Specifies a restriction on the maximum value of a simpleType element. The element value must be less than or equal to the value of maxInclusive. Must also declare a minInclusive element. Represents the World Wide Web Consortium (W3C) maxInclusive facet.
XmlSchemaMaxLengthFacet Specifies a restriction on the maximum length of a simpleType element, based on the datatype. Represents the World Wide Web Consortium (W3C) maxLength facet.
XmlSchemaMinExclusiveFacet Specifies a restriction on the minimum value of a simpleType element. The element value must be greater than the value of minExclusive. Must also declare a maxExclusive element. Represents the World Wide Web Consortium (W3C) minExclusive facet.
XmlSchemaMinInclusiveFacet Specifies a restriction on the minimum value of a simpleType element. The element value must be greater than or equal to the value of minInclusive. Must also declare a maxInclusive element. Represents the World Wide Web Consortium (W3C) minInclusive facet.
XmlSchemaMinLengthFacet Specifies a restriction on the minimum length of a simpleType element, based on the datatype. Represents the World Wide Web Consortium (W3C) minLength facet.
XmlSchemaNotation Class represents a notation. An XML Schema definition language (XSD) notation declaration is a reconstruction of XML 1.0 NOTATION declarations. The purpose of notations is to describe the format of non-XML data within an XML document. Represents the World Wide Web Consortium (W3C) notation element.
XmlSchemaNumericFacet Abstract class for defining numeric facets. Controls the characteristics of a numeric facet. Numeric facets include float, double, decimal and integer.
XmlSchemaObject Creates an empty schema.
XmlSchemaObjectCollection An object collection class to handle XmlSchemaObjects when collections are returned from method calls.
XmlSchemaObjectEnumerator Represents the enumerator for the XmlSchemaObjectCollection. This class cannot be inherited.
XmlSchemaObjectTable A collection class that provides read-only helpers for XmlSchemaObject objects. This class is used to provide the collections for contained elements that are within the schema as collections that are accessed from the XmlSchema class (for example, Attributes, AttributeGroups, Elements, and so on).
XmlSchemaParticle Base class for all particle types.
XmlSchemaPatternFacet Specifies a restriction on the value entered for a simpleType element. The pattern is made up of a regular expression. Represents the World Wide Web Consortium (W3C) pattern facet.
XmlSchemaRedefine Allows simple and complex types, groups, and attribute groups from external schema files to be redefined in the current schema. This class provides versioning for the schema elements. Represents the World Wide Web Consortium (W3C) redefine element.
XmlSchemaSequence Requires the elements in the group to appear in the specified sequence within the containing element. Represents the World Wide Web Consortium (W3C) sequence (compositor) element.
XmlSchemaSimpleContent Class for simple types and complex types with a simple content model. Represents the World Wide Web Consortium (W3C) simpleContent element.
XmlSchemaSimpleContentExtension Class for simple types that are derived by extension. Extends the simple type content of the element by adding attributes. Represents the World Wide Web Consortium (W3C) extension element for simple content.
XmlSchemaSimpleContentRestriction Class for simple types that are derived by restriction. Restricts the range of values for the element to a subset of the inherited simple types. Represents the World Wide Web Consortium (W3C) restriction element for simple content.
XmlSchemaSimpleType Class defines a simple type that determines the information and constraints for the values of attributes or elements with text-only content. Represents the World Wide Web Consortium (W3C) simpleType element.
XmlSchemaSimpleTypeContent Abstract class for simple type content classes.
XmlSchemaSimpleTypeList Class for the list of simpleType elements. Defines a simpleType element as a list of values of a specified data type. Represents the World Wide Web Consortium (W3C) list element.
XmlSchemaSimpleTypeRestriction Class for the restriction of simpleType elements. Represents the World Wide Web Consortium (W3C) restriction element for simple types.
XmlSchemaSimpleTypeUnion Class for the union of simpleType elements. Defines a simpleType element as a list of values of a specified data type. Represents the World Wide Web Consortium (W3C) union element.
XmlSchemaTotalDigitsFacet Specifies a restriction on the number of digits that can be entered for the value of a simpleType element. The value of totalDigits must be a positive integer. Represents the World Wide Web Consortium (W3C) totalDigits facet.
XmlSchemaType The base class for all simple types and complex types.
XmlSchemaUnique Identifies a unique constraint among a set of elements. Represents the World Wide Web Consortium (W3C) unique element.
XmlSchemaWhiteSpaceFacet Defines how the simpleType value's whitespace will be treated. Represents the World Wide Web Consortium (W3C) whiteSpace facet.
XmlSchemaXPath Class for XML Path Language (XPath) expressions. Represents the World Wide Web Consortium (W3C) selector element. The World Wide Web Consortium (W3C) field element is a collection of XmlSchemaXPath classes.

Delegates

Delegate Description
ValidationEventHandler Represents the method that handles the ValidationEventArgs.

Enumerations

Enumeration Description
XmlSchemaContentProcessing Provides information about the validation mode of any and anyAttribute element replacements.
XmlSchemaContentType Enumerations for the content model of the complex type. This represents the content in the post-schema-validation infoset.
XmlSchemaDerivationMethod Provides different methods for preventing derivation.
XmlSchemaForm Indicates if attributes or elements need to be qualified or left unqualified.
XmlSchemaUse Indicator of how the attribute is used.
XmlSeverityType Represents the severity of the validation event.

See Also

.NET Framework Class Library

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.