FACTOID # 63: Brazil takes up 47.8% of South America.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Document Structure Description

Document Structure Description, or DSD, is an XML schema language, for describing valid XML documents. It's an alternative to DTD or XML Schema. XML Schema, published as a W3C Recommendation in May 2001, is one of several XML schema languages. ... The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages. ... DTD is an acronym that can stand for: Document Type Definition, used in XML programming Delta Tau Delta, a US-based college fraternity This is a disambiguation page — a navigational aid which lists other pages that might otherwise share the same title. ... XML Schema, published as a W3C Recommendation in May 2001, is one of several XML schema languages. ...


An example of DSD in its simplest form:

 <dsd xmlns="http://www.brics.dk/DSD/2.0" xmlns:my="http://example.com">   <if><element name="my:foo"/> <declare> <attribute name="first"/> <attribute name="second"/> <contents> <element name="my:bar"/> </contents> </declare> </if>   <if><element name="my:bar"/> <declare> <contents> </contents> </declare> </if>   </dsd> 

This says that element named "foo" in the XML namespace "http://example.com" may have two attributes, named "first" and "second". A "foo" element may not have any character data. It must contain one subelement, named "bar", also in the "http://example.com" namespace. A "bar" element is not allowed any attributes, character data or subelements.


One XML document that would be valid under the above DSD would be:

 <foo xmlns="http://example.com" second="2"> <bar/> </foo> 

External links

  • DSD home page
  • Full DSD specification
  • Comparison of DTD, W3C XML Schema, and DSD

  Results from FactBites:
 
Document Type Definition - Wikipedia, the free encyclopedia (1129 words)
A Document Type Definition (DTD for short) is a set of declarations that conform to a particular markup syntax and that describe a class, or "type", of SGML or XML documents, in terms of constraints on the structure of those documents.
A DTD may also declare default attribute values, named entities and their replacement text, and other constructs that are not always required to establish document structure, but that may affect the interpretation of some documents.
A DTD is associated with a particular document via a Document Type Declaration, which is a bit of markup that appears near the start of the associated document.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m