XML Schema Definition – XSD

Short for XML Schema Definition, a way to describe and validate data in an XML environment. (A schema is a model for describing the structure of information.) XSD is a recommendation of the W3C.

XSD has advantages over earlier XML schema languages, such as DTD. Because XSD is written in XML, there is no need for a parser. XSD defines a richer set of data typessuch as booleans, numbers, dates and times, and currencies — which is invaluable for e-commerce applications. DTDs, on the other hand, express data types as explicit enumerations, which makes validation much more difficult and less accurate.

More important, XSD makes it easier to validate documents based on namespaces (used to qualify element and attributes names by associating them with namespaces identified by URI references. Namespaces prevent identically custom-named tagsthat may be used in different XML documents from being read the same way), something DTDs cannot do.

XSD is defined in the W3C’s XML Schema Working Group Working Draft published on May 6, 1999.

Vangie Beal
Vangie Beal
Vangie Beal is a freelance business and technology writer covering Internet technologies and online business since the late '90s.

Related Articles

Human Resources Management System

A Human Resources Management System (HRMS) is a software application that supports many functions of a company's Human Resources department, including benefits administration, payroll,...

How To Defend Yourself Against Identity Theft

Almost every worldwide government agency responsible for identity theft issues will tell you the same thing: The first step to fighting identity theft is...

Infographic

An infographic is a visual representation of information or data. It combines the words information and graphic and includes a collection of imagery, charts,...

Phishing

What is phishing? Phishing is a type of cybercrime in which victims are contacted by email, telephone, or text message by an attacker posing as...

ScalaHosting

ScalaHosting is a leading managed hosting provider that offers secure, scalable, and affordable...

HRIS

Human resources information system (HRIS) solutions help businesses manage multiple facets of their...

Best Managed Service Providers...

In today's business world, managed services are more critical than ever. They can...