XSD SchemaLesson 82Free preview
XSD Introduction
This lesson is part of XML · All levels
Summary
XML Schema (XSD) is a language for defining the structure, content, and data type of an XML document, serving as a replacement for the richer DTD. XSD itself is written as an XML document with an in-house namespace. Compared to DTD, XSD supports primitive data types, namespaces, and much more flexible value constraints. (http://www.w3.org/2001/XMLSchema.)
Key points
- XSD = XML Schema Definition, the file is ending
- Standard namespace: http://www.w3.org/2001/XMLSchema
- Divided into two parts: the document structure and the data type
- It supports the types of xs:string, xs:decimal, xs:date, xs:boolean, etc.
- Supporting namespace and legacy schemes, DTD's main weakness
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.