dtd8 219 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0"?>
<!DOCTYPE doc [
<!ELEMENT doc ((a | b) , (c | d))+>
<!ELEMENT a (#PCDATA)>
<!ELEMENT b (#PCDATA)>
<!ELEMENT c (#PCDATA)>
<!ELEMENT d (#PCDATA)>
]>
9
<doc><b>This</b><c> is a valid document</c></doc>