Home
-> XML Examples
-> Element type children: Putting it all together
Element type children: Putting it all together
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE root
[
<!ELEMENT root ANY>
<!ELEMENT word (c, a, (t | (r, d) ), s?) >
<!ELEMENT a EMPTY>
<!ELEMENT c EMPTY>
<!ELEMENT d EMPTY>
<!ELEMENT r EMPTY>
<!ELEMENT s EMPTY>
<!ELEMENT t EMPTY>
]
>
<root>
<word> <c/><a/><t/> </word>
<word> <c/><a/><t/><s/> </word>
<word> <c/><a/><r/><d/> </word>
<word> <c/><a/><r/><d/><s/> </word>
</root>
Content of this site is ©
Wayne Conrad. All rights reserved.