ZVON > References > XML Schema 2001 Reference
index | >> Schema << | DTD

simpleType

Go to standard
In: complexType attribute
Schema

<xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>

In: schema
Schema

<xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType"> </xs:element>


Occurs in Schema Tutorial examples:
Restrictions
Multiple restrictions
Element is either a fixed string or an integer
Element can contain a string from an enumerated set
Attribute contains a list of values
Element contains a list of values
Definition of a custom simpleType - temperature must be greater than -273.15
Limiting string length
Limiting the number of decimal places
Limiting both the number of decimal places and total places
String must contain e-mail address
Element contains date
Element represents time duration
xsi:type
definition of a simpleType, target namespace is null
definition of a simpleType, target namespace is not null
Element and type have the same name
Error - simpleType and complexType have the same name
XML Schema - finalDefault attribute
Redefine element
Abstract element, substitutionGroup
Attribute block




_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
Domain Names VoIP Internettelefonie DSL, SDSL, ADSL UNLIMITED Web Hosting by HostDepartment conference call service
answering service