> Your last instinct is correct. A DTD is not a tree, but a directed acyclic > graph.
Are you sure the graph is acyclic? I thought the following was a valid DTD:
<!ELEMENT a (b)> <!ELEMENT b (#PCDATA | a)*>
Thanks.
-- Ron Bourret