This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Yes, it is called "mixed content" and will look like <!ELEMENT x (#PCDATA,a) > or <!ELEMENT x (#PCDATA | a)* > (not sure the first declaration is correct. I fished it out of some book, and this book is currently under my suspicion Can somebody verify, is the first declaration correct or not?) But it is not excluding "or", the model above allows both PCDATA and "a" elements to be presented in an XML document in any sequence and any number. If you need excluding "or",i.e. "either PCDATA or "a" element, but not both", then I am not sure DTD can specify this. If I am wrong, somebody will correct me. [This message has been edited by Mapraputa Is (edited June 15, 2001).]