My problem is this: I have an element called <course> to describe a course. The problem is that the course can have a footnote ascribed to it in some cases only. How do I capture this in my schema? What I have thought is this: Have an optional attribute called footnote in <course> to determine if there is a footnote. If this is the case check for the <footnote> element in <course> e.g <course footnote='yes'> <!-- Then this is required --> <footnote> <symbol> </symbol> <content> </content> </footnote> if <course> <!-- then footnote element is optional --> How do I implement this using a schema? Any help will be appreciated.
Hemant Kamat<br />Sun Certified Java Programmer for Java2<br />Sun Certified Web Component Developer