Declaring either/or Content
Example:
<!ELEMENT note (to,from,header,(message|body))>
<!ELEMENT note (to,from,header,(message|body))>
The example above declares that the "note" element must contain a "to" element, a "from" element, a "header" element, and either a "message" or a "body" element.
No comments:
Post a Comment