Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Document Structure Description

< >

Document Structure Description is a xml format created in 2000.

#2250on 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 About Acknowledgements Extensions Day 630 Donate feedback@pldb.io