12. DTD for Elements with One Child

Elements with children having only one occurrence can be defined. The element name is used to declare that the child element can occur only once inside the element.

Example 12.1 One Element Occurrence Declaration
<?xml version=?1.0? standalone=?yes??>
<!DOCTYPE rootelement [
<!ELEMENT rootelement (childelement)>
<!ELEMENT childelement (#PCDATA)>
]>
<rootelement>
	<childelement>Child element.</childelement>
</rootelement>