Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am making a xml for a survey taken by students in a class. My dtd of responses looks like this:

<!DOCTYPE responses [
<!ELEMENT responses (student)+>
<!ELEMENT student (response?)>
]>

This model requires at least one student which will either have or not have a response.

Is there a way to require at least one student who has a response?

share|improve this question
Hello indieman, please don't cross-post. (Same question on SO.) Questions that would be better off on a different site will be migrated by the community or moderators when necessary. (You'll be able to request that through flags once you have the required rep.) – Mat Dec 2 '12 at 14:11
Please read the faq about what is on-topic here: this isn't directly about databases at all. – Jack Douglas Dec 2 '12 at 19:39

closed as off topic by Jack Douglas Dec 2 '12 at 19:39

Questions on Database Administrators Stack Exchange are expected to relate to database administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.