Measures Concepts
GitHub icon

Document Structure Description

Document Structure Description - Xml format

< >

Document Structure Description is a xml format created in 2000.

#1572on PLDB 24Years Old

Document Structure Description, or DSD, is a schema language for XML, that is, a language for describing valid XML documents. It's an alternative to DTD or the W3C XML Schema. An example of DSD in its simplest form: http://www.brics.dk/DSD/2.0" xmlns:my="http://example.com"> This says that element named "foo" in the XML namespace "http://example.com" may have two attributes, named "first" and "second". Read more on Wikipedia...


Example from the web:
<dsd xmlns="http://www.brics.dk/DSD/2.0[permanent dead link]" 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>

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout