<%@ page language="C#" masterpagefile="~/templates/Documentation.master" inherits="Page" pagetitle="About simpleTypes in XML Schemas" keywords="About simpleTypes in XML Schemas"%>

About simpleTypes in XML Schemas

XML Schema defines several kinds of simpleTypes:

Descriptions of the XML Schema built-in types are in the W3C XML Schema Part 2: Datatypes.

Anonymous simpleTypes are useful when you want to define a type that is used in only one element or attribute. By specifying an anonymous simpleType, you save the overhead of explicitly defining the type and specifying a reference to it.