<?xml version="1.0" encoding="iso-8859-1"?>
<?dsd URI="http://www.brics.dk/DSD/dsd.dsd"?>
<!--this document is available at http://www.brics.dk/DSD/examples/article.dsd-->
<DSD IDRef="article" DSDVersion="1.0">
<Title> A DSD description of the ArticleML syntax </Title>
<Version> 0.3 </Version>
<Author> Anders Møller </Author>
<Doc>
This example DSD is used in the XML tutorial; see http://www.brics.dk/~amoeller/XML
Note: the DSD is incomplete (and would benefit from some more Doc description elements)
Exercise to the reader: fill out the incomplete parts such that the DSD captures all
reasonable syntax requirements of ArticleML :-)
This example covers much of the DSD language, however it does not
illustrate redefinitions or default definitions.
</Doc>
<?include URI="http://www.brics.dk/DSD/library/standard_datatypes.dsd"?>
<?include URI="http://www.brics.dk/DSD/library/standard_constraints.dsd"?>
<ElementDef ID="article">
<AttributeDecl Name="postscript"><StringType IDRef="URI"/></AttributeDecl>
<AttributeDecl Name="pdf"><StringType IDRef="URI"/></AttributeDecl>
<Sequence>
<Element IDRef="article-title"/>
<OneOrMore><Element IDRef="authors"/></OneOrMore>
<Optional><Element IDRef="abstract"/></Optional>
<OneOrMore><Element IDRef="section"/></OneOrMore>
<Optional><Element IDRef="references"/></Optional>
<Optional><Element IDRef="vitae"/></Optional>
</Sequence>
</ElementDef>
|