HOME

Schema Tutorial
XSD HOME
XSD Intro
XSD Why
XSD HowTo
XSD <schema>

Simple Types
XSD Elements
XSD Attributes
XSD Restrictions

Complex Types
XSD Elements
XSD Empty
XSD Elements Only
XSD Text Only
XSD Mixed
XSD Indicators
XSD <any>
XSD <anyAttribute>
XSD Substitution
XSD Example

Data Types
XSD String
XSD Date
XSD Numeric
XSD Misc

References
XSD Reference
Download XMLSpy here
Please visit our sponsors !

XML Schema Tutorial

prev next

Schema Tutorial

In our Schema tutorial, you will learn what an XML Schema is. You will also learn how XML Schema will replace DTD, and how to use the XML Schema language in your applications. Start Learning XML Schema!

Schema References

At W3Schools you will find a list of valid XML Schema Elements and Data Types. XML Schema Elements.


Table of Contents

Introduction to XML Schemas
This introduction to the XML Schema language explains what an XML Schema is.

XML Schema - Why?
This chapter explains why XML Schemas should be used instead of DTDs.

XML Schema How To
This chapter explains how to reference to an XML Schema.

XML Schema The <schema> Element
This chapter explains the schema element and its attributes.

XSD Simple Types

XML Schema Simple Elements
This chapter explains how to declare simple elements.

XML Schema Attributes
This chapter explains how to declare attributes.

XML Schema Restrictions/Facets
This chapter explains how to add restrictions to XML elements.

XSD Complex Types

XML Schema Complex Elements
This chapter explains XML Schema complex elements.

XML Schema Complex Empty Elements
This chapter explains XML Schema empty complex elements.

XML Schema Complex Elements Only
This chapter explains XML Schema complex elements only elements.

XML Schema Complex Text Elements
This chapter explains XML Schema complex text elements.

XML Schema Complex Elements with Mixed Content
This chapter explains XML Schema complex types with mixed content.

XML Schema Complex Elements Indicators
This chapter explains how to structuring complex elements with indicators.

XML Schema <any>
This chapter explains how to use the <any> element to extend the XML document with elements not specified by the schema!

XML Schema <anyAttribute>
This chapter explains how to use the <anyAttribute> element to extend the XML document with attributes not specified by the schema!

XML Schema Substitution
This chapter explains how one element can substitute another element.

XML Schema Example
Demonstrates how to write an XML Schema. You will also learn that a schema can be written in different ways!

XSD Data Types

XML Schema String Data Types
This chapter explains XML Schema string data types.

XML Schema Date Data Types
This chapter explains XML Schema date data types.

XML Schema Numeric Data Types
This chapter explains XML Schema numeric data types.

XML Schema Miscellaneous Data Types
This chapter explains some other XML Schema miscellaneous data types.


XML Schema References

XML Schema Content Models - References
A list of valid XML Schema Elements.


prev next

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page


Search W3Schools:


What Others Say About Us

Does the world know about us? Check out these places:

Dogpile Alta Vista MSN Google Excite Lycos Yahoo Ask Jeeves


We Help You For Free. You Can Help Us!


W3Schools is for training only. We do not warrant its correctness or its fitness for use. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2002 by Refsnes Data. All Rights Reserved


Validate How we converted to XHTML Validate

Domain Name Registration
Domain Name
Registration & More!



Your own Web Site?

Read W3Schools
Hosting Tutorial



$15 Domain Name
Registration
Save $20 / year!



Advertise
at W3Schools

Only 0.5 CPM



SELECTED LINKS

University Online
Master Degree
Bachelor Degree


Web Software

The Future of
Web Development


Jobs and Careers

Web Security
Web Statistics
Web Standards


PARTNERS

W3Schools
TopXML
VisualBuilder
XMLPitstop
DevelopersDex
DevGuru
Programmers Heaven
The Code Project
Tek Tips Forum
ZVON.ORG
TopXML Search