This documentation is archived and is not being maintained.

XML Schema Tab, Toolbox

Visual Studio .NET 2003

Displays the elements you can add to XML Schemas and ADO.NET Datasets when the XML Designer is in Schema view. The XML Schema tab is available whenever you are working with an .xsd file (both ADO.NET datasets and XML Schemas are .xsd files).

Attributes, attributeGroups, complexTypes, and so on are all considered elements in XML Schemas.

The Toolbox appears by default in the Visual Studio integrated development environment. If you need to display the Toolbox, select Toolbox from the View menu.

Name Description
element Creates an element that can be global, added to other elements, added to groups, or used to construct complexTypes. For more information, see XML Elements, Attributes, and Types and Creating Elements in XML Schemas.
attribute Creates an attribute that can be global, added to elements, or added to groups. For more information, see XML Elements, Attributes, and Types and Creating Attributes in XML Schemas.
attributeGroup Creates an attributeGroup that can be global, added to elements, or used in the construct of complexTypes. For more information, see Element Groups and Creating Attribute Groups in XML Schemas.
complexType Creates a complexType that you can add elements, attributes, attributeGroups, anys, and anyAttributes to. For more information, see Complex Types in XML Schemas and Creating Complex XML Types and Creating Unnamed Complex Types.
simpleType Creates a simpleType that you can add facets to. For more information, see User-Defined Simple Types in XML Schemas and Creating Simple XML Types and Creating Unnamed Simple Types.
group Creates groups that can be global, added to other groups, elements, or complexTypes. For more information, see Element Groups and Creating Element Groups in XML Schemas.
any Creates an any element that can be added to elements, complexTypes, or groups. For more information, see any Element.
anyAttribute Creates an anyAttribute element that can be added to elements, attribute groups or complex types. For more information, see anyAttribute Element.
facet Creates a facet that can be added to a simpleType. A facet is used to further restrict the definition of a simple type. For more information, see Data Type Facets.
key Launches the Edit Key dialog box that is used to create keys when added to an element. Keys are the primary fields that tie relations together. For more information, see Edit Key Dialog Box and Creating Primary and Unique Keys in XML Schemas.
Relation Launches the Edit Relation dialog box that is used to define relationships between elements. For more information, see Edit Relation Dialog Box and Relational Data in XML Schemas and Creating One-to-Many Relationships in XML Schemas and Datasets.

See Also

XML Schemas and Data | XML Schema Reference (XSD) | Toolbox | XML Elements, Attributes, and Types

Show: