List of terms and their definitions used in this book.

What is DTD? DTD stands for Document Type Definition. DTD is XML schema language.

What is JAXP? JAXP stands for Java API for XML Processing. JAXP enables Java applications to parse, transform, validate and query XML documents using an API that is independent of a particular XML processor implementation. JAXP provides a pluggability layer to enable vendors to provide their own implementations without introducing dependencies in application code. Using this software, application and tool developers can build fully-functional XML-enabled Java applications for e-commerce, application integration, and web publishing.

What is RNG? RNG stands for RELAX NG. RNG a pattern-based, user-friendly XML schema language. RNG schemas may use types to constrain XML character data. RNG is maintained by the Organization for the Advancement of Structured Information Standards (OASIS) and is both an OASIS and an ISO (International Organization for Standardization) standard.

What is Schematron? Schematron is a rules-based XML schema language. Whereas DTD, WXS, and RNG are designed to express the structure of a content model, Schematron is designed to enforce individual rules that are difficult or impossible to express with other schema languages. Schematron is intended to supplement a schema written in structural schema language such as the aforementioned. Schematron is in the process of becoming an ISO standard.

What is WXS? WXS stands for W3C XML Schema.

What is Xerces2 Java Parser? Xerces2 Java Parser is an open source Java API of XML parsers. Xerces2 Java Parser supports XML 1.0 and 1.1, XInclude 1.0, DOM Level 3, SAX 2.0, JAXP 1.3, and XML Schema 1.0.

What is XML? XML stands for eXtensible Markup Language. XML is a markup language for organizing information in text files.

What is XML Document? A text file that contains information organized in a structure that meets XML specifications.

What is XML Schema? XML Schema is an XML schema language recommended by W3C (World Wide Web Consortium) in 2001. An XML schema is a set of rules to which an XML document must conform in order to be considered 'valid' according to that schema. An XML schema language is a set of rules on how to write an XML schema. XML Schema is an object-oriented XML schema language. XML Schema provides a type system for constraining the character data of an XML document.

What is XML Schema processor? A XML Schema processor is a program that validates an XML document against an XSD document.

What is XMLPad? XMLPad is a freeware XML editor with ability to edit XML, DTD, XSD, and other XML related documents. XMLPad also perform DTD validation, XML Schema (XSD) validation, XSLT transformation.

What is XSD? XSD stands for XML Schema Definition. An XML schema document written in XML Schema is called XSD and typically has the filename extension ".xsd".

Table of Contents

 About This Book

 Introduction to XML Schema

 XML Editor and Schema Processor - XMLPad

 Java API for XML Processing - JAXP

 JAXP - XML Schema (XSD) Validation

 Xerces2 Java Parser - Java API of XML Parsers

 Using Xerces2 Java APIs

 XML Schema Language - Basics

 Introduction of XSD Built-in Datatypes

 "string" and Its Derived Datatypes

 "decimal" and Its Derived Datatypes

 "dateTime" and Its Related Datatypes

 Miscellaneous Built-in Datatypes

 Facets, Constraining Facets and Restriction Datatypes

 "simpleType" - Defining Your Own Simple Datatypes

 Complex Element Declaration

 Identity-Constraints: unique, key and keyref

 Assertion as Custom Validation Rules

 XML Schema Location and Namespace in XML Documents

 Overriding Element Types in XML Documents

 Linking Multiple Schema Documents Together


 Archived Tutorials


 Full Version in PDF/EPUB