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. 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

 

<< PreviousWord BrowserNext >>
kit (computer slang)
list of parks in singapore
2000 in games
revolutionary student brigades
orchard court
new york class battleship
2002 in games
tantum ergo
saint andrew's cathedral, singapore
amanda stott
dharmashastra
2005 in games
firm bound in brotherhood
neufchtel
metro ermita
new sudbury, ontario
transportation corridor agencies
fak bey konitza
sri mariamman temple
bob butterworth
floater (band)
allegations of war crimes against u.s. officials
toynbee
cris alexander
masjid sultan
camaret bay
campos
czech referendum on the european constitution
st. thomas university (florida)
10979 fristephenson
some enchanted evening
metro potrero
macritchie reservoir
square one shopping centre
granville leveson gower, 1st marquess of stafford
primary producer
can't sleep, clowns will eat me
music of southwest asia
music of south asia
filofax
gustavo vzquez montes
kelly scott
real radio (scotland)
2003 colima state election