XML Schema. Why Validate XML? XML documents can generally have any structure XML grammars define specific document structures Validation is the act of.

Download XML Schema. Why Validate XML? XML documents can generally have any structure XML grammars define specific document structures Validation is the act of.

Post on 05-Jan-2016

212 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>XML Schema</p></li><li><p>Why Validate XML?XML documents can generally have any structure XML grammars define specific document structures Validation is the act of checking an XML document against a DTD or XML schema defined for a grammar</p></li><li><p>XSD</p><p>schema definitions go here</p></li><li><p>What Are Built-In Datatypes?W3C XML schemas define many built-in datatypes Built-in datatypes can be primitive or derivedExamples: integer,long,short</p></li><li>Element Declarations</li><li><p>Attribute Declarations</p></li><li><p>Derive New Simple Types</p></li><li><p>How to Reference Simple Types</p></li><li><p>Better idea</p></li><li><p>Complex Datatypes</p></li><li><p>Explicit complex type for reuse</p></li><li><p>Element that can only contain one of a predefined set</p></li><li><p>Elements that contain optional child elements in any order</p></li><li><p>Complex Datatypes with Attributes</p></li><li><p>Extend the base content by adding an attribute</p><p>12.75</p></li><li><p>How to Reference Existing Declarations</p></li><li><p>How to Create Element Groups</p></li><li><p>How to Create Attribute Groups</p></li><li><p>Derive New Complex Types</p></li></ul>

Recommended

View more >