|
Home >Online Product Documentation >Table of Contents >More Complex Example of Aggregating Modifiers in DTDs More Complex Example of Aggregating Modifiers in DTDsFollowing is a more complicated example. Suppose you want book elements to include
l Exactly one title
l Either an author or an editor, but it is okay if neither appear
l Zero or more paragraphs
To accomplish this, you would perform steps that generate the following tree representation: In the Text view of the DTD, the definition for the book element is as follows: |