What Is XSD (XML Schema Definition)

This section provides a quick introduction of XSD (XML Schema Definition) - a language that can be used to define a schema for XML documents.

What Is XSD (XML Schema Definition): XSD is a language that can be used to define a schema for XML documents. XSD itself is an XML based language. All XSD statements are written in XML format.

If an XML document is said to be valid against a XSD schema, all elements, attributes and entities in the XML document must meet their declared formats described in the XSD schema.

Main features of XSD:

Here is an example of XSD schema:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <xsd:element name="p" type="xsd:string"/>

This example shows:

Table of Contents

 About This Book

 Introduction of XML (eXtensible Markup Language)

 XML File Syntax

 XML File Browsers

 XML-JSON Document Conversion

 DOM (Document Object Model) Programming Interface

 SAX (Simple API for XML) Programming Interface

 DTD (Document Type Definition) Introduction

 Syntaxes of DTD Statements

 Validating an XML Document against the Specified DTD Document Type

XSD (XML Schema Definition) Introduction

What Is XSD (XML Schema Definition)

 XML Files with Embedded XSD Statements

 XML Files with Linked External XSD Files

 Validating an XML File against a XSD Schema

 Syntaxes of XSD Statements

 Validating XML Documents Against Specified XML Schemas

 XSL (Extensible Stylesheet Language) Introduction

 Java Implementation of XSLT

 XSLT (XSL Transformations) Introduction

 XPath (XML Path) Language

 XSLT Elements as Programming Statements

 Control and Generate XML Element in the Result

 PHP Extensions for XML Manipulation

 Processing XML with Python Scripts

 XML Notepad - XML Editor

 XML Tools Plugin for Notepad++

 XML Plugin Packages for Atom Editor

 XML 1.1 Changes and Parsing Examples

 Archived Tutorials


 Full Version in PDF/EPUB