An example: article.dsd
This example DSD for our notion of article documents (introduced in
the XML section) illustrates a real-world (but
incomplete) DSD.
It shows
- document inclusion (of "standard libraries")
- use of definitions and references and of inlined definitions
- mixed ordered and unordered contents (multiple content expressions)
- points-to requirements
and more...
This DSD has been developed "top-down". Several parts of the DSD are
left for the energetic reader as an exercise :-)
(The file is also available at http://www.brics.dk/DSD/examples/article.dsd.)