Search
| XML Schema |
|
| Written by Chris Gountanis |
|
XML Schema is an XML-based replacement for a DTD. The XML schema defines the XML structure of the corresponding XML document. The purpose of an XML Schema is to define the building blocks or structure of an XML document, just like a DTD. "A schema is a definition of the syntax of an XML-based language. A schema language is a formal language for expressing schemas. The document being validated is called an instance document or application document." - brics.dk
DTD stands for document type definition. There are some issues with the current use of DTD. DTD is not written in XML format. There is no support for namespaces due the XML 1.0 design that came before the creation of namespaces. There is not enough complexity to the attribute declarations or elements. Document Structure Description seems to be the next in line developed by BRICS and AT&T Labs Research. The basics of the language will be simple, easy to understand and far more powerful than the other schema languages for most practical purposes.
Møller, A. (n.d.). DTD, XML Schema, and DSD. Retrieved from Anders Møller: Jervis, M. (2002) XML DTDs Vs XML Schemas: |
| Last Updated on Tuesday, 01 January 2008 08:59 |
